From dde9a518c068fc0d463cf4feefa4612036654f70 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Sat, 25 Jun 2022 16:28:15 +0200 Subject: fix: Add sudo to install script --- .build.yml | 7 +++++-- 1 file 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 -- cgit v1.2.3