ci: download zig binary directly instead of apt
Some checks failed
Release / release (push) Failing after 48s
Some checks failed
Release / release (push) Failing after 48s
This commit is contained in:
parent
e78e71c395
commit
3349ff8ba0
1 changed files with 7 additions and 1 deletions
|
|
@ -17,9 +17,15 @@ jobs:
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y dpkg-dev git curl openssh-client zig
|
apt-get install -y dpkg-dev git curl openssh-client xz-utils
|
||||||
cargo install cargo-deb
|
cargo install cargo-deb
|
||||||
|
|
||||||
|
- 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
|
||||||
|
zig version
|
||||||
|
|
||||||
- name: Setup SSH
|
- name: Setup SSH
|
||||||
run: |
|
run: |
|
||||||
test -r /keys/forgejo_runner || { echo "Deploy key /keys/forgejo_runner chybi"; exit 1; }
|
test -r /keys/forgejo_runner || { echo "Deploy key /keys/forgejo_runner chybi"; exit 1; }
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue