Skip to content

Commit

Permalink
workflows: fail on curl error
Browse files Browse the repository at this point in the history
7z will fail if given an HTTP error page, so this is only a cleanup.

Signed-off-by: Benjamin Gilbert <[email protected]>
  • Loading branch information
bgilbert committed Nov 1, 2023
1 parent e9cc7d5 commit ef61785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
mkdir -p c:\\openslide
cd c:\\openslide
zipname=openslide-win64-${BIN_RELEASE}
curl -LO "https://github.com/openslide/openslide-bin/releases/download/v${BIN_RELEASE}/${zipname}.zip"
curl -LfO "https://github.com/openslide/openslide-bin/releases/download/v${BIN_RELEASE}/${zipname}.zip"
7z x ${zipname}.zip
echo "OPENSLIDE_PATH=c:\\openslide\\${zipname}\\bin" >> $GITHUB_ENV
- name: Build wheel
Expand Down

0 comments on commit ef61785

Please sign in to comment.