Add zig step

This commit is contained in:
asonix 2024-02-07 16:50:17 -06:00
parent d1eac7a8bf
commit aeb7d2405e
1 changed files with 6 additions and 1 deletions

View File

@ -10,6 +10,11 @@ inputs:
runs: runs:
using: "composite" using: "composite"
steps: steps:
-
name: Install zig
uses: https://github.com/goto-bus-stop/setup-zig@v2
with:
version: 0.11.0
- -
name: Fetch rust cache name: Fetch rust cache
id: cache id: cache
@ -40,7 +45,7 @@ runs:
name: Install cargo-zigbuild name: Install cargo-zigbuild
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
run: | run: |
yes | cargo binstall cargo-zigbuild yes | cargo binstall cargo-zigbuild ;
echo "Installed binstall" echo "Installed binstall"
- -
name: Check name: Check