ci: hack to prevent from dying on error code from gvm installer

This commit is contained in:
Derrick Hammer 2023-08-09 06:30:20 -04:00
parent d85b90cfa0
commit f79a722e77
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 0 deletions

View File

@ -19,7 +19,9 @@ jobs:
- name: Setup Golang - name: Setup Golang
run: | run: |
sudo apt-get update; sudo apt-get update;
set +e;
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer); bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer);
set -e;
source ~/.gvm/scripts/gvm; source ~/.gvm/scripts/gvm;
gvm install go1.4 -B; gvm install go1.4 -B;
gvm use go1.4 --default; gvm use go1.4 --default;