Skip to content

Commit

Permalink
Working on releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Schnaufer committed Jul 23, 2024
1 parent 17974d0 commit 83a3aaf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,15 @@ jobs:
- name: Build with Maven
run: cd "Sanimal FX" && mvn -U compile package && mv target/SanimalFX-1.0-SNAPSHOT-jar-with-dependencies.jar ../sparcd-${{ matrix.platform }}.jar

- name: Print the platform
run: echo "${{ matrix.platform }}"

- name: set date env var
if: ${{ matrix.platform }} != "windows-latest"
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"
if: "${{ matrix.platform }}" == "windows-latest"
run: $NOW=& Get-Date -format yyyy.MM.dd; echo "NOW=$NOW" >> $env:GITHUB_ENV

- name: Upload release assets
Expand Down

0 comments on commit 83a3aaf

Please sign in to comment.