diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e34907e..acb0a5e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -100,12 +100,16 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Install cargo-zigbuild - run: cargo install cargo-zigbuild + - name: Setup zig + uses: korandoru/setup-zig@v1 + with: + zig-version: 0.12.1 - name: Download SDK run: wget https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.15.sdk.tar.xz - name: Setup SDK env run: tar xf ${{ github.workspace }}/MacOSX10.15.sdk.tar.xz && echo "SDK_PATH=${{ github.workspace }}/MacOSX10.15.sdk" >> $GITHUB_ENV + - name: Install cargo-zigbuild + run: cargo install cargo-zigbuild - name: Release x86 run: | rustup target add x86_64-apple-darwin