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: |
|
run: |
|
||||||
for dir in */; do
|
for dir in */; do
|
||||||
if [[ $dir == *"windows"* ]]; then
|
if [[ $dir == *"windows"* ]]; then
|
||||||
zip -r "${dir%/}.zip" "$dir"
|
zip -r "${dir%/}.zip" "$dir*"
|
||||||
else
|
else
|
||||||
tar -czvf "${dir%/}.tar.gz" "$dir"
|
tar -czvf "${dir%/}.tar.gz" -C "$dir" .
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Loading…
Reference in New Issue
Block a user