build(ci): fix artifacts output (#175)
This commit is contained in:
parent
7f31582cc3
commit
a44a9bf300
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -180,9 +180,9 @@ jobs:
|
||||
run: |
|
||||
for dir in */; do
|
||||
if [[ $dir == *"windows"* ]]; then
|
||||
zip -r "${dir%/}.zip" "$dir"
|
||||
zip -r "${dir%/}.zip" "$dir*"
|
||||
else
|
||||
tar -czvf "${dir%/}.tar.gz" "$dir"
|
||||
tar -czvf "${dir%/}.tar.gz" -C "$dir" .
|
||||
fi
|
||||
done
|
||||
shell: bash
|
||||
|
Loading…
Reference in New Issue
Block a user