aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-06-25 16:28:15 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-06-25 16:28:15 +0200
commitdde9a518c068fc0d463cf4feefa4612036654f70 (patch)
tree2731388de2a1e3a34c5c59d5ee98ee4f9af64766
parent184a8d32e48441ff8025b2ea6cc2bec579d352c2 (diff)
downloadgenpass-dde9a518c068fc0d463cf4feefa4612036654f70.tar.gz
genpass-dde9a518c068fc0d463cf4feefa4612036654f70.tar.bz2
genpass-dde9a518c068fc0d463cf4feefa4612036654f70.zip
fix: Add sudo to install script
-rw-r--r--.build.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index 82ea506..8e16e4d 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,6 +1,10 @@
image: alpine/latest
packages:
- curl
+ - build-base
+ - firefox
+ - make
+ - npm
secrets:
- 008c4f67-b864-47f8-9790-cd32f2ae8516
@@ -11,8 +15,7 @@ environment:
tasks:
- rustup: |
export PATH="$PATH:$HOME/.cargo/bin"
- apk add npm make curl build-base firefox
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal --quiet -y
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sudo sh -s -- --profile minimal --quiet -y
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- test: |
cd genpass