mirror of
https://github.com/darksaid98/optim.git
synced 2026-12-02 06:28:53 +00:00
ci: fix release workflow
This commit is contained in:
2 files changed
+6
-7
No files matched your search
@@ -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
|
||||
@@ -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)
|
||||
Reference in new issue
Block a user