CI: download hold binary

This commit is contained in:
daywalker90 2026-07-26 15:02:51 +02:00
parent 61c07f6079
commit 6d984a0900
2 changed files with 159 additions and 194 deletions

View file

@ -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