From 83a3aafde85633a2297076019d36968166ced081 Mon Sep 17 00:00:00 2001 From: Chris Schnaufer Date: Tue, 23 Jul 2024 11:59:53 -0700 Subject: [PATCH] Working on releases --- .github/workflows/tagged-release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index 1727177..6da1fca 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -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