Skip to content

Commit

Permalink
Fix: zipがwindowsだと無いので追加
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed May 30, 2024
1 parent dc557fd commit a22d5ff
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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 .
Expand Down

0 comments on commit a22d5ff

Please sign in to comment.