mirror of
https://github.com/daywalker90/cln-nip47.git
synced 2026-08-13 12:33:43 +02:00
CI: add authorization for curl
This commit is contained in:
parent
337dbdddb1
commit
cb5fd0f9e3
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -99,7 +99,7 @@ jobs:
|
|||
- name: Download Core Lightning ${{ inputs.cln-version }} & install binaries
|
||||
if: ${{ contains(matrix.os, 'ubuntu') && steps.cache-cln.outputs.cache-hit != 'true' }}
|
||||
run: |
|
||||
url=$(curl --retry 3 --retry-delay 3 https://api.github.com/repos/ElementsProject/lightning/releases/tags/${{ inputs.cln-version }} \
|
||||
url=$(curl -f --retry 3 --retry-delay 3 -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/ElementsProject/lightning/releases/tags/${{ inputs.cln-version }} \
|
||||
| jq '.assets[] | select(.name | contains("24.04")) | .browser_download_url' \
|
||||
| tr -d '\"')
|
||||
wget $url
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue