diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7d0b85f67..2e72123f0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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