From a22d5ffefc7a22b8e31efd8989a8934d4cce07c4 Mon Sep 17 00:00:00 2001 From: sevenc-nanashi Date: Fri, 31 May 2024 07:53:23 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20zip=E3=81=8Cwindows=E3=81=A0=E3=81=A8?= =?UTF-8?q?=E7=84=A1=E3=81=84=E3=81=AE=E3=81=A7=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b5a9945..7342b52 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,6 +28,12 @@ jobs: suffix: -macos runs-on: ${{ matrix.os }} steps: + - name: Setup zip + if: matrix.os == 'windows-latest' + run: | + curl.exe https://www.willus.com/archive/zip64/infozip_binaries_win64.zip -o zip64.zip + 7z x zip64.zip -oC:\tools + echo "C:/tools/zip64" >> $GITHUB_PATH - name: Determine version id: version run: | @@ -84,7 +90,7 @@ jobs: run: | mkdir archive cp -r target/release/{cantari,sample.vvm,*.html,dict} archive - cp crates/cantari/{*.dylib,*.so,*.dll} archive || true + cp target/release/{*.dylib,*.so,*.dll} archive || true cp crates/cantari/engine_manifest.json archive cd archive zip -r ../cantari-${{ steps.version.outputs.version }}${{ matrix.suffix }}.zip .