ci: use `powershell Compress-Archive` instead of `zip` in binary_artifact.yml

pull/12836/head weekly.2021.50.3
Delyan Angelov 2021-12-14 12:20:20 +02:00
parent 2f99022f0f
commit 5365984ef5
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 4 additions and 1 deletions

View File

@ -91,9 +91,12 @@ jobs:
shell: msys2 {0}
run: |
cd ..
zip -r9 --symlinks $ZIPNAME v/
powershell Compress-Archive v $ZIPNAME
mv $ZIPNAME v/
cd v/
# NB: the powershell Compress-Archive line is from:
# https://superuser.com/a/1336434/194881
# It is needed, because `zip` is not installed by default :-|
- name: Create artifact
uses: actions/upload-artifact@v2
with: