Skip to content

Commit

Permalink
Simply use --fail which does not require newer curl versions
Browse files Browse the repository at this point in the history
  • Loading branch information
juamedgod committed Jun 3, 2024
1 parent 8a746f1 commit e2a2780
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- name: Download and install InstallBuilder
run: |
set -e
INSTALLBUILDER_VERSION=$(curl --fail-with-body https://installbuilder.com/VERSION)
curl --fail-with-body -sSL https://releases.installbuilder.com/installbuilder/installbuilder-qt-enterprise-$INSTALLBUILDER_VERSION-linux-x64-installer.run -o installbuilder.run
INSTALLBUILDER_VERSION=$(curl --fail https://installbuilder.com/VERSION)
curl --fail -sSL https://releases.installbuilder.com/installbuilder/installbuilder-qt-enterprise-$INSTALLBUILDER_VERSION-linux-x64-installer.run -o installbuilder.run
chmod a+x installbuilder.run
./installbuilder.run --prefix "$INSTALLBUILDER" --mode unattended
echo "$INSTALLBUILDER_LICENSE" > "${INSTALLBUILDER}/license.xml"
Expand Down

0 comments on commit e2a2780

Please sign in to comment.