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:
parent
2f99022f0f
commit
5365984ef5
5
.github/workflows/binary_artifact.yml
vendored
5
.github/workflows/binary_artifact.yml
vendored
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user