File tree 3 files changed +8
-16
lines changed
3 files changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -29,20 +29,12 @@ jobs:
29
29
with :
30
30
deno-version : ${{ matrix.deno-version }}
31
31
32
- - name : Set NATS Server Version
33
- run : echo "NATS_VERSION=v2.10.24" >> $GITHUB_ENV
34
-
35
- # this here because dns seems to be wedged on gha
36
- # - name: Add hosts to /etc/hosts
37
- # run: |
38
- # sudo echo "145.40.102.131 demo.nats.io" | sudo tee -a /etc/hosts
39
-
40
- - name : Get nats-server
41
- run : |
42
- wget "https://github.com/nats-io/nats-server/releases/download/$NATS_VERSION/nats-server-$NATS_VERSION-linux-amd64.zip" -O tmp.zip
43
- unzip tmp.zip
44
- mv nats-server-$NATS_VERSION-linux-amd64 nats-server
45
- rm nats-server/README.md LICENSE
32
+ - name : Install nats-server
33
+
34
+ with :
35
+ repo : nats-io/nats-server
36
+ name : nats-server
37
+ cache : true
46
38
47
39
- name : Lint Deno Module
48
40
run : deno fmt --check --ignore=docs/
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ import {
34
34
Transport ,
35
35
} from "../nats-base-client/internal_mod.ts" ;
36
36
37
- const VERSION = "1.29.1 " ;
37
+ const VERSION = "1.29.2 " ;
38
38
const LANG = "nats.deno" ;
39
39
40
40
const ReadBufferSize = 1024 * 256 ;
Original file line number Diff line number Diff line change @@ -662,7 +662,7 @@ export class NatsServer implements PortInfo {
662
662
}
663
663
664
664
static async start ( conf ?: any , debug = false ) : Promise < NatsServer > {
665
- const exe = Deno . env . get ( "CI" ) ? "nats-server/nats-server" : "nats-server" ;
665
+ const exe = "nats-server" ;
666
666
const tmp = path . resolve ( Deno . env . get ( "TMPDIR" ) || "." ) ;
667
667
conf = NatsServer . confDefaults ( conf ) ;
668
668
conf . ports_file_dir = tmp ;
You can’t perform that action at this time.
0 commit comments