diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 16dc19b..8a6ee06 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 @@ -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