ci: fix release workflow

This commit is contained in:
darksaid98 committed 2024-02-13 10:14:56 +01:00
1 parent 8e354a5afe
commit 8f077a7c48
2 files changed
+4 -5

No files matched your search

+3 -4
View File
@@ -33,7 +33,7 @@ inputs:
default: . default: .
release-tag: release-tag:
description: "Tag for the description" description: "Tag for the release"
required: true required: true
@@ -105,7 +105,7 @@ runs:
game-versions: ${{ env.game-version }} game-versions: ${{ env.game-version }}
changelog-file: CHANGELOG.release.* changelog-file: CHANGELOG.release.*
files: "*.mrpack" files: "*.mrpack"
version: ${{ steps.tag.outputs.tag }} version: ${{ inputs.release-tag }}
version-type: ${{ steps.release-type.outputs.release-type }} version-type: ${{ steps.release-type.outputs.release-type }}
- name: Print Modrinth upload status - name: Print Modrinth upload status
@@ -125,7 +125,7 @@ runs:
game-versions: ${{ env.game-version }} game-versions: ${{ env.game-version }}
changelog-file: CHANGELOG.release.* changelog-file: CHANGELOG.release.*
files: "*.zip" files: "*.zip"
version: ${{ steps.tag.outputs.tag }} version: ${{ inputs.release-tag }}
version-type: ${{ steps.release-type.outputs.release-type }} version-type: ${{ steps.release-type.outputs.release-type }}
- name: Print Curseforge upload status - name: Print Curseforge upload status
@@ -133,4 +133,3 @@ runs:
run: | run: |
echo "::notice ::☀ Modpack ${{ inputs.modpack }} has been uploaded to Curseforge with ${{ inputs.CURSEFORGE_ID }}" echo "::notice ::☀ Modpack ${{ inputs.modpack }} has been uploaded to Curseforge with ${{ inputs.CURSEFORGE_ID }}"
shell: bash shell: bash
+1 -1
View File
@@ -85,7 +85,7 @@ jobs:
# Creates and manages the prs and releases # Creates and manages the prs and releases
- name: Perform Release with Release Please - name: Perform Release with Release Please
id: release-please id: release-please
uses: google-github-actions/release-please-action@v3 uses: google-github-actions/release-please-action@v4
with: with:
monorepo-tags: true monorepo-tags: true
path: ${{ matrix.modpack }} path: ${{ matrix.modpack }}