Skip to content

Commit

Permalink
fix: contract test should download v2 script (#32)
Browse files Browse the repository at this point in the history
* fix: contract test should download v2 script by default
  • Loading branch information
cwaldren-ld authored May 3, 2024
1 parent 03d0c71 commit 28cf0d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/contract-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ runs:
- name: 'Run Contract Tests'
shell: bash
run: |
curl ${{ inputs.token != '' && format('-H "Authorization: Token {0}"', inputs.token) || '' }} -s https://raw.githubusercontent.com/launchdarkly/${{ inputs.repo }}/main/downloader/run.sh | bash
curl ${{ inputs.token != '' && format('-H "Authorization: Token {0}"', inputs.token) || '' }} -s https://raw.githubusercontent.com/launchdarkly/${{ inputs.repo }}/${{ inputs.version }}/downloader/run.sh | bash
env:
# The token is directly used in the first curl command above to obtain the downloader script, to avoid rate limiting.
# The token is then passed to the downloader script itself, so it can perform more API requests and hopefully avoid rate limiting again.
Expand Down

0 comments on commit 28cf0d3

Please sign in to comment.