-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Fix supported Minecraft version name step ID in other steps
Also fixed the Modrinth publish workflow.
- Loading branch information
1 parent
4c55f86
commit dcd9a31
Showing
5 changed files
with
27 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,11 +39,11 @@ jobs: | |
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag: v${{ steps.mod_version.outputs.value }}+mc${{ steps.supported_minecraft_version.outputs.value }} | ||
tag: v${{ steps.mod_version.outputs.value }}+mc${{ steps.supported_minecraft_version_name.outputs.value }} | ||
doNotFailIfNotFound: true | ||
|
||
- name: Check if an existing release with the same version exists | ||
if: steps.get_existing_release.outputs.tag_name == v${{ steps.mod_version.outputs.value }}+mc${{ steps.supported_minecraft_version.outputs.value }} | ||
if: steps.get_existing_release.outputs.tag_name == v${{ steps.mod_version.outputs.value }}+mc${{ steps.supported_minecraft_version_name.outputs.value }} | ||
run: exit 1 | ||
|
||
- name: Setup JDK (Temurin 17) | ||
|
@@ -72,8 +72,8 @@ jobs: | |
# Modrinth | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
|
||
name: ${{ steps.mod_version.outputs.value }} (${{ steps.supported_minecraft_version.outputs.value }}) | ||
github-tag: v${{ steps.mod_version.outputs.value }}+mc${{ steps.supported_minecraft_version.outputs.value }} | ||
name: ${{ steps.mod_version.outputs.value }} (${{ steps.supported_minecraft_version_name.outputs.value }}) | ||
github-tag: v${{ steps.mod_version.outputs.value }}+mc${{ steps.supported_minecraft_version_name.outputs.value }} | ||
files: | | ||
fabric/build/libs/!(*-@(sources|dev-shadow|javadoc|transformProduction*).jar) | ||
fabric/build/libs/*-@(sources|javadoc).jar | ||
|
@@ -88,8 +88,8 @@ jobs: | |
# Modrinth | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
|
||
name: ${{ steps.mod_version.outputs.value }} (${{ steps.supported_minecraft_version.outputs.value }}) | ||
github-tag: v${{ steps.mod_version.outputs.value }}+mc${{ steps.supported_minecraft_version.outputs.value }} | ||
name: ${{ steps.mod_version.outputs.value }} (${{ steps.supported_minecraft_version_name.outputs.value }}) | ||
github-tag: v${{ steps.mod_version.outputs.value }}+mc${{ steps.supported_minecraft_version_name.outputs.value }} | ||
files: | | ||
forge/build/libs/!(*-@(sources|dev-shadow|javadoc|transformProduction*).jar) | ||
forge/build/libs/*-@(sources|javadoc).jar | ||
|
@@ -98,17 +98,17 @@ jobs: | |
changelog-file: CHANGELOG_LATEST.md | ||
|
||
# https://github.com/marketplace/actions/mc-publish | ||
- name: Publish mod (NeoForge) | ||
- name: Publish mod (NeoForge/Forge) | ||
uses: Kir-Antipov/[email protected] | ||
with: | ||
# Modrinth | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
|
||
name: ${{ steps.mod_version.outputs.value }} (${{ steps.supported_minecraft_version.outputs.value }}) | ||
github-tag: v${{ steps.mod_version.outputs.value }}+mc${{ steps.supported_minecraft_version.outputs.value }} | ||
name: ${{ steps.mod_version.outputs.value }} (${{ steps.supported_minecraft_version_name.outputs.value }}) | ||
github-tag: v${{ steps.mod_version.outputs.value }}+mc${{ steps.supported_minecraft_version_name.outputs.value }} | ||
files: | | ||
neoforge/build/libs/!(*-@(sources|dev-shadow|javadoc|transformProduction*).jar) | ||
neoforge/build/libs/*-@(sources|javadoc).jar | ||
forge/build/libs/!(*-@(sources|dev-shadow|javadoc|transformProduction*).jar) | ||
forge/build/libs/*-@(sources|javadoc).jar | ||
version-type: release | ||
modrinth-featured: false | ||
changelog-file: CHANGELOG_LATEST.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters