Skip to content

Commit

Permalink
Server download
Browse files Browse the repository at this point in the history
  • Loading branch information
mtmk committed Sep 25, 2024
1 parent 8207411 commit 3d75a66
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,7 @@ jobs:
run: |
mkdir tools-nats-server && cd tools-nats-server
branch=$(curl https://api.mtmk.dev/gh/v1/releases/tag/nats-io/nats-server/${{ matrix.config.branch }})
for i in 1 2 3
do
curl -sf https://binaries.nats.dev/nats-io/nats-server/v2@$branch | PREFIX=. sh && break || sleep 30
done
mv nats-server nats-server.exe
curl -sL -o nats-server.exe 'https://binaries.nats.dev/binary/github.com/nats-io/nats-server/v2?os=windows&arch=amd64&version=$branch'
cygpath -w "$(pwd)" | tee -a "$GITHUB_PATH"
- name: Check nats-server
Expand Down

0 comments on commit 3d75a66

Please sign in to comment.