Skip to content

Commit

Permalink
build(ci): fix windows artifact (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
xensik committed Jan 6, 2024
1 parent a44a9bf commit b41a9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ jobs:
run: |
for dir in */; do
if [[ $dir == *"windows"* ]]; then
zip -r "${dir%/}.zip" "$dir*"
cd "$dir" && zip -r "../${dir%/}.zip" . && cd ..
else
tar -czvf "${dir%/}.tar.gz" -C "$dir" .
fi
Expand Down

0 comments on commit b41a9f7

Please sign in to comment.