From 75cbe6c0c213323c48cedb31f8f7b9d81e71834a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 8 Jun 2020 11:20:30 +1000 Subject: [PATCH] add --fail to curl calls closes #656 - thanks Evandro --- .github/workflows/checks.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 55d9367a1..41798472e 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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