From 8f077a7c48c6835350a7a15d8c6849bc57940ec5 Mon Sep 17 00:00:00 2001 From: darksaid98 Date: Tue, 13 Feb 2024 10:14:56 +0100 Subject: [PATCH] ci: fix release workflow --- .github/actions/release/action.yaml | 9 ++++----- .github/workflows/pipeline.yml | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/actions/release/action.yaml b/.github/actions/release/action.yaml index 416528e..5463b7e 100644 --- a/.github/actions/release/action.yaml +++ b/.github/actions/release/action.yaml @@ -33,7 +33,7 @@ inputs: default: . release-tag: - description: "Tag for the description" + description: "Tag for the release" required: true @@ -105,7 +105,7 @@ runs: game-versions: ${{ env.game-version }} changelog-file: CHANGELOG.release.* files: "*.mrpack" - version: ${{ steps.tag.outputs.tag }} + version: ${{ inputs.release-tag }} version-type: ${{ steps.release-type.outputs.release-type }} - name: Print Modrinth upload status @@ -125,12 +125,11 @@ runs: game-versions: ${{ env.game-version }} changelog-file: CHANGELOG.release.* files: "*.zip" - version: ${{ steps.tag.outputs.tag }} + version: ${{ inputs.release-tag }} version-type: ${{ steps.release-type.outputs.release-type }} - name: Print Curseforge upload status if: steps.curseforge.outcome == 'success' run: | echo "::notice ::☀ Modpack ${{ inputs.modpack }} has been uploaded to Curseforge with ${{ inputs.CURSEFORGE_ID }}" - shell: bash - + shell: bash \ No newline at end of file diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 1026b2c..7c0940f 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -85,7 +85,7 @@ jobs: # Creates and manages the prs and releases - name: Perform Release with Release Please id: release-please - uses: google-github-actions/release-please-action@v3 + uses: google-github-actions/release-please-action@v4 with: monorepo-tags: true path: ${{ matrix.modpack }} @@ -182,4 +182,4 @@ jobs: CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }} if: | steps.release-please.outputs.releases_created && - (steps.set-mod-vendors.outputs.modrinth || steps.set-mod-vendors.outputs.curseforge) + (steps.set-mod-vendors.outputs.modrinth || steps.set-mod-vendors.outputs.curseforge) \ No newline at end of file