Skip to content

Commit

Permalink
ci: Fix the supported Minecraft version name step
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveplays28 committed Oct 6, 2024
1 parent 3f87bfd commit 3fd541f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
property: mod_version
default: 0.0.1

- name: Get supported Minecraft version from Gradle
- name: Get supported Minecraft version name from Gradle
uses: madhead/read-java-properties@latest
id: supported_minecraft_version
id: supported_minecraft_version_name
with:
file: gradle.properties
property: supported_minecraft_version
property: supported_minecraft_version_name
default: 0.0.1

- run: echo version string ${{ steps.mod_version.outputs.value }}+mc${{ steps.supported_minecraft_version.outputs.value }}
- run: echo version string ${{ steps.mod_version.outputs.value }}+mc${{ steps.supported_minecraft_version_name.outputs.value }}

- name: Setup JDK (Temurin 17)
uses: actions/setup-java@v3
Expand Down Expand Up @@ -61,8 +61,8 @@ jobs:
# CurseForge
curseforge-token: ${{ secrets.CURSEFORGE_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-primary: build/libs/!(*-@(dev|sources|javadoc)).jar
files-secondary: build/libs/*-@(dev|sources|javadoc).jar
version-type: release
Expand Down

0 comments on commit 3fd541f

Please sign in to comment.