build(ci): fix windows artifact (#176)
This commit is contained in:
parent
a44a9bf300
commit
b41a9f7d54
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user