workaround for lack of sudo in Gitea
Some checks failed
Generic zig build / build (push) Failing after 13s
Some checks failed
Generic zig build / build (push) Failing after 13s
This commit is contained in:
parent
4998ac5803
commit
3251024ffb
3
.github/workflows/zig-build.yaml
vendored
3
.github/workflows/zig-build.yaml
vendored
|
@ -16,6 +16,9 @@ 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: |
|
||||||
|
if [ "$GITEA_ACTIONS" = "true" ];
|
||||||
|
alias sudo=''
|
||||||
|
fi
|
||||||
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