Skip to content

Commit

Permalink
use powershell format
Browse files Browse the repository at this point in the history
  • Loading branch information
djdt committed Apr 4, 2024
1 parent 29baa04 commit 842f20b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
- name: Set output version
id: set-output
run : |
echo "PEWPEW_VERSION=$(python -c "from importlib.metadata import version; print(version('pewpew'))")" >> "$GITHUB_OUTPUT"
echo "PEWPEW_VERSION=$(python -c "from importlib.metadata import version; print(version('pewpew'))")" >> "$env:GITHUB_OUTPUT"
- name: Upload binary
id: upload
run: |
gh release upload "$TAG_NAME" "./dist/pewpew_$PEWPEW_VERSION.exe"
gh release upload "$env:TAG_NAME" "./dist/pewpew_$env:PEWPEW_VERSION.exe"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PEWPEW_VERSION: ${{ steps.set-output.outputs.PEWPEW_VERSION }}
Expand Down

0 comments on commit 842f20b

Please sign in to comment.