From 7f6ca9d2171f62977de59d72acbd7a0294c17498 Mon Sep 17 00:00:00 2001 From: Clemens Schmid Date: Tue, 21 Feb 2023 14:21:35 +0100 Subject: [PATCH] powershell does not understand bash --- .github/workflows/release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da5a2d5..52aba4f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -132,10 +132,8 @@ jobs: - name: Set binary path name id: binarypath run: | - currentEXE="./dist/nassa.exe" - newEXE="nassa-$RUNNER_OS.exe" - mv $currentEXE $newEXE - echo "BINARY_PATH=$newEXE" >> $GITHUB_OUTPUT + Rename-Item -Path "./dist/nassa.exe" -NewName "./dist/nassa-Windows.exe" + echo "BINARY_PATH=./dist/nassa-Windows.exe" >> $env:GITHUB_OUTPUT - name: Compress binary uses: svenstaro/upx-action@v2