Skip to content

Commit

Permalink
Use powershell to create zip on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
SRv6d committed Jul 16, 2024
1 parent 4cb0dcb commit d348ede
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ jobs:
if: ${{ !startsWith(matrix.os, 'windows') }}
- name: Create Release Zip Archive
run: >-
zip "hanko-${GITHUB_REF#refs/tags/}-${{ matrix.target }}.zip"
target/${{ matrix.target }}/release/hanko
shell: bash
Compress-Archive -Destination "hanko-${GITHUB_REF#refs/tags/}-${{ matrix.target }}.zip"
-Path target/${{ matrix.target }}/release/hanko
shell: pwsh
if: ${{ startsWith(matrix.os, 'windows') }}
- name: Upload Release Archive
run: >-
Expand Down

0 comments on commit d348ede

Please sign in to comment.