fix(ci): use cargo-install
instead of cargo-binstall
Some checks failed
Build Zenyx ⚡ / 🔧 Setup Environment (push) Failing after 1m2s
Build Zenyx ⚡ / 🏗️ Build aarch64-unknown-linux-gnu (push) Has been skipped
Build Zenyx ⚡ / 🏗️ Build x86_64-unknown-linux-gnu (push) Has been skipped
Build Zenyx ⚡ / 🏗️ Build x86_64-pc-windows-msvc (push) Has been skipped
Some checks failed
Build Zenyx ⚡ / 🔧 Setup Environment (push) Failing after 1m2s
Build Zenyx ⚡ / 🏗️ Build aarch64-unknown-linux-gnu (push) Has been skipped
Build Zenyx ⚡ / 🏗️ Build x86_64-unknown-linux-gnu (push) Has been skipped
Build Zenyx ⚡ / 🏗️ Build x86_64-pc-windows-msvc (push) Has been skipped
This commit is contained in:
parent
0140f147a2
commit
ca69d8b382
1 changed files with 2 additions and 3 deletions
|
@ -37,8 +37,7 @@ jobs:
|
|||
cd /tmp/zig
|
||||
curl -Lo zig-linux-x86_64.tar.xz https://ziglang.org/builds/zig-linux-x86_64-0.15.0-dev.377+f01833e03.tar.xz
|
||||
tar -Jxf zig-linux-x86_64.tar.xz -C /tmp/zig --strip-components=1
|
||||
curl -L https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
|
||||
cargo binstall -y cargo-zigbuild
|
||||
cargo install -y cargo-zigbuild
|
||||
|
||||
build:
|
||||
name: 🏗️ Build ${{ matrix.target }}
|
||||
|
@ -72,7 +71,7 @@ jobs:
|
|||
path: |
|
||||
~/.cargo/bin
|
||||
/tmp/zig
|
||||
key: tools-v1-${{ hashFiles('**/Cargo.lock') }}
|
||||
key: cargo-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- name: 📍 Add Zig to PATH
|
||||
run: echo "/tmp/zig" >> $GITHUB_PATH
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue