diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index 549ceff..35bd718 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -29,11 +29,11 @@ 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" + 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