workaround for lack of sudo in Gitea
Some checks failed
Generic zig build / build (push) Failing after 15s
Some checks failed
Generic zig build / build (push) Failing after 15s
This commit is contained in:
parent
4998ac5803
commit
35598c7c3b
1
.github/workflows/zig-build.yaml
vendored
1
.github/workflows/zig-build.yaml
vendored
|
@ -16,6 +16,7 @@ jobs:
|
||||||
- uses: elerch/zig-action-cache@v1.1.6
|
- uses: elerch/zig-action-cache@v1.1.6
|
||||||
- name: Install system dependencies
|
- name: Install system dependencies
|
||||||
run: |
|
run: |
|
||||||
|
[ "$GITEA_ACTIONS" = "true" ] && alias sudo=''
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install fonts-hack # imagemagick (container has imagemagick, but version 6)
|
sudo apt-get install fonts-hack # imagemagick (container has imagemagick, but version 6)
|
||||||
curl -LOs https://github.com/ImageMagick/ImageMagick/archive/refs/tags/7.1.1-31.tar.gz
|
curl -LOs https://github.com/ImageMagick/ImageMagick/archive/refs/tags/7.1.1-31.tar.gz
|
||||||
|
|
Loading…
Reference in New Issue
Block a user