diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index 41b497b..2bf0b12 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -38,9 +38,9 @@ jobs: - name: Delete existing latest release if exists run: | - gh release delete latest --yes 2>$null || true - git push origin :refs/tags/latest 2>$null || true - shell: powershell + gh release delete latest --yes 2>$null || $true + git push origin :refs/tags/latest 2>$null || $true + shell: pwsh env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}