mirror of
https://github.com/darksaid98/optim.git
synced 2026-12-03 22:17:00 +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: .
|
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,12 +125,11 @@ 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
|
||||||
if: steps.curseforge.outcome == 'success'
|
if: steps.curseforge.outcome == 'success'
|
||||||
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
|
||||||
|
|
||||||
@@ -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 }}
|
||||||
@@ -182,4 +182,4 @@ jobs:
|
|||||||
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
|
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
|
||||||
if: |
|
if: |
|
||||||
steps.release-please.outputs.releases_created &&
|
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