Skip to content

Commit

Permalink
Fixing the build process
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Schnaufer committed Jul 23, 2024
1 parent 952d709 commit 5ef4840
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@ jobs:
run: cd "Sanimal FX" && mvn -U compile package && mv target/SanimalFX-1.0-SNAPSHOT-jar-with-dependencies.jar ../sparcd-${{ matrix.platform }}.jar

- name: set date env var
if: ${{ matrix.platform != 'windows-latest' }}
run: echo "NOW=$(date +'%Y.%m.%d')" >> $GITHUB_ENV

- name: set date env var (Windows)
if: ${{ matrix.platform == 'windows-latest' }}
run: $NOW=& Get-Date -format yyyy.MM.dd; echo "NOW=$NOW" >> $env:GITHUB_ENV

- name: Upload release assets
uses: softprops/action-gh-release@v2
env:
Expand All @@ -41,5 +46,6 @@ jobs:
draft: false
prerelease: false
fail_on_unmatched_files: true
tag_name: latest
tag_name: Release-Build-${{ env.NOW }}
make_latest: true

0 comments on commit 5ef4840

Please sign in to comment.