fix(release): setup zig for cargo-zigbuild (#661)

This commit is contained in:
yetone 2024-09-28 14:06:23 +08:00 committed by GitHub
parent 2ff2456fcb
commit e3e5785a1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,6 +89,9 @@ jobs:
targets: ${{ matrix.config.rust_target }}
toolchain: 1.80.0
- uses: goto-bus-stop/setup-zig@v2
if: ${{ matrix.config.os_name == 'linux' }}
- name: Install cargo-zigbuild
if: ${{ matrix.config.os_name == 'linux' }}
uses: baptiste0928/cargo-install@v3