mirror of
https://github.com/daywalker90/cln-nip47.git
synced 2026-08-13 12:33:43 +02:00
CI: download hold binary
This commit is contained in:
parent
61c07f6079
commit
6d984a0900
2 changed files with 159 additions and 194 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -153,6 +153,13 @@ jobs:
|
|||
uv run python -m grpc_tools.protoc --proto_path="proto" --python_out="tests" --grpc_python_out="tests" proto/*.proto
|
||||
fi
|
||||
|
||||
url=$(curl -f --retry 3 --retry-delay 3 -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/BoltzExchange/hold/releases/latest \
|
||||
| jq '.assets[] | select(.name | endswith("linux-amd64.tar.gz")) | .browser_download_url' \
|
||||
| tr -d '\"')
|
||||
wget $url
|
||||
tar -xvf ${url##*/} -C tests
|
||||
mv "tests/build/hold-linux-amd64" "tests/hold"
|
||||
|
||||
cargo build
|
||||
cargo test
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue