Skip to content

Commit

Permalink
Fix zip on windows (maybe ?)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elanis committed Feb 27, 2023
1 parent 46ccb7b commit 67e0672
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ jobs:
run: |
cd build
for dir in */; do
if [ "$RUNNER_OS" = "Windows" ]; then
( cd "$dir" && 7z a -tzip ../"${dir%/}".zip . )
else
( cd "$dir" && zip -r ../"${dir%/}".zip . )
fi
done
shell: bash

Expand Down

0 comments on commit 67e0672

Please sign in to comment.