Skip to content

Commit

Permalink
add sleep before attempting to download releases
Browse files Browse the repository at this point in the history
  • Loading branch information
extrange committed May 23, 2024
1 parent a360d28 commit e39ea62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/detect-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,13 @@ jobs:
runs-on: ubuntu-latest
needs: check-new-version
if: needs.check-new-version.outputs.has_update == 'true'
env:
dest: /tmp/ibgateway-${{ needs.check-new-version.outputs.build_version }}-standalone-linux-x64.sh
steps:
- uses: actions/checkout@v4

- name: Download IB Gateway
run: |
download_url='https://download2.interactivebrokers.com/installers/ibgateway/${{ needs.check-new-version.outputs.channel }}-standalone/ibgateway-${{ needs.check-new-version.outputs.channel }}-standalone-linux-x64.sh'
dest='ibgateway-${{ needs.check-new-version.outputs.build_version }}-standalone-linux-x64.sh'
curl -sSL "$download_url" --output "$dest"
sha256sum "$dest" > "${dest}.sha256"
Expand Down

0 comments on commit e39ea62

Please sign in to comment.