build(ci): fix artifacts output (#175)

This commit is contained in:
Xenxo Espasandín 2024-01-06 13:08:41 +01:00 committed by GitHub
parent 7f31582cc3
commit a44a9bf300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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