add --fail to curl calls

closes #656 - thanks Evandro
This commit is contained in:
Damien Elmes 2020-06-08 11:20:30 +10:00
parent 21d800281b
commit 75cbe6c0c2

View File

@ -231,8 +231,8 @@ jobs:
shell: cmd
run: |
echo on
curl -LO https://github.com/ankitects/pyaudio-windows/raw/master/%pyaudio%
curl -LO http://repo.msys2.org/msys/x86_64/%rsyncbin%
curl --fail -LO https://github.com/ankitects/pyaudio-windows/raw/master/%pyaudio%
curl --fail -LO http://repo.msys2.org/msys/x86_64/%rsyncbin%
:: https://stackoverflow.com/questions/1359793/programmatically-extract-tar-gz
7z x "%rsyncbin%" -so | 7z x -aoa -si -ttar -o"%programfiles%\Git"
@ -253,7 +253,7 @@ jobs:
sudo apt install portaudio19-dev gettext
# https://github.com/BurntSushi/ripgrep/issues/1232
# sudo apt-get install ripgrep
curl -LO https://github.com/BurntSushi/ripgrep/releases/download/11.0.2/ripgrep_11.0.2_amd64.deb
curl --fail -LO https://github.com/BurntSushi/ripgrep/releases/download/11.0.2/ripgrep_11.0.2_amd64.deb
sudo dpkg -i ripgrep_11.0.2_amd64.deb
- name: Set up brew ripgrep, pyaudio, gettext