From e3e5785a1a9c257083e6f9f86cdb66486a1d6b47 Mon Sep 17 00:00:00 2001 From: yetone Date: Sat, 28 Sep 2024 14:06:23 +0800 Subject: [PATCH] fix(release): setup zig for cargo-zigbuild (#661) --- .github/workflows/release.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 22259f1fa..263a76790 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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