Skip to content

Commit

Permalink
fix workflow on windows again
Browse files Browse the repository at this point in the history
  • Loading branch information
anchpop committed Aug 18, 2024
1 parent 1b14073 commit a9662d4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,17 @@ jobs:
run: |
chmod +x release/${{ matrix.output_name }}
- name: Create release archive
- name: Create release archive (Unix)
if: matrix.os != 'windows-latest'
run: |
cd release
zip -r ../${{ matrix.output_name }}.zip .
- name: Create release archive (Windows)
if: matrix.os == 'windows-latest'
run: |
Compress-Archive -Path release\* -DestinationPath ${{ matrix.output_name }}.zip
- name: Upload Release Asset
uses: svenstaro/upload-release-action@v2
with:
Expand Down

0 comments on commit a9662d4

Please sign in to comment.