ci: install zig into /usr/local/bin with symlink
Some checks failed
Release / release (push) Failing after 2m26s
Some checks failed
Release / release (push) Failing after 2m26s
This commit is contained in:
parent
28b571817c
commit
b679a9e1a2
1 changed files with 4 additions and 2 deletions
|
|
@ -22,8 +22,10 @@ jobs:
|
|||
|
||||
- name: Install zig
|
||||
run: |
|
||||
curl -fsSL https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz | \
|
||||
tar -xJ -C /usr/local --strip-components=1
|
||||
curl -fsSL https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz -o /tmp/zig.tar.xz
|
||||
mkdir -p /usr/local/zig
|
||||
tar -xJf /tmp/zig.tar.xz -C /usr/local/zig --strip-components=1
|
||||
ln -sf /usr/local/zig/zig /usr/local/bin/zig
|
||||
zig version
|
||||
|
||||
- name: Setup SSH
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue