1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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

This commit is contained in:
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

View File

@ -91,9 +91,12 @@ jobs:
shell: msys2 {0} shell: msys2 {0}
run: | run: |
cd .. cd ..
zip -r9 --symlinks $ZIPNAME v/ powershell Compress-Archive v $ZIPNAME
mv $ZIPNAME v/ mv $ZIPNAME v/
cd 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 - name: Create artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with: