Skip to content

Commit

Permalink
Fix colliding artifact names
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Feb 16, 2024
1 parent 43f5764 commit 4b291e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ jobs:
distribution: 'temurin'
- name: Package with jpackage
run: |
projectVersion=$(grep '^mavenVersion=' gradle.properties | cut -d'=' -f2)
projectVersionStripped=${projectVersion/-SNAPSHOT/}
jpackage --app-version $projectVersionStripped --main-jar "SoulFire-$projectVersion.jar" "@jpackage.cfg" "@jpackage-mac.cfg"
projectVersion=$(grep '^mavenVersion=' gradle.properties | cut -d'=' -f2)
projectVersionStripped=${projectVersion/-SNAPSHOT/}
jpackage --app-version $projectVersionStripped --main-jar "SoulFire-$projectVersion.jar" "@jpackage.cfg" "@jpackage-mac.cfg"
- name: Upload installer
uses: actions/upload-artifact@v4
with:
name: windows-installer
name: mac-installer
path: |
build/distributions/*

0 comments on commit 4b291e2

Please sign in to comment.