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