diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index 9a79b15..83585f6 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -32,12 +32,12 @@ jobs: run: echo "NOW=$(date +'%Y.%m.%d')" >> $GITHUB_ENV - name: set date env var - run: echo "NOW=$(date +'%Y.%m.%d')" >> $GITHUB_ENV if: ${{ matrix.platform }} != "windows-latest" + run: echo "NOW=$(date +'%Y.%m.%d')" >> $GITHUB_ENV - name: set date env var (Windows) - run: $NOW=& Get-Date -format yyyy-MM-dd; echo "NOW=$NOW" >> $env:GITHUB_ENV 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