From 5365984ef5471c9f07e2513083eb8d12ecb1a4c3 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 14 Dec 2021 12:20:20 +0200 Subject: [PATCH] ci: use `powershell Compress-Archive` instead of `zip` in binary_artifact.yml --- .github/workflows/binary_artifact.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/binary_artifact.yml b/.github/workflows/binary_artifact.yml index 08647dc79..6c81c4c71 100644 --- a/.github/workflows/binary_artifact.yml +++ b/.github/workflows/binary_artifact.yml @@ -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: -- 2.30.2