File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,12 +88,12 @@ runs:
8888 # PROTOBUF CACHE && INSTALL #
8989 # ##############################
9090 - name : Setup protobuf for Linux
91- if : runner.os == 'Linux'
91+ if : ${{ github.runner_os == 'Linux' }}
9292 shell : bash
9393 run : |
9494 sudo apt-get update && sudo apt-get -y install protobuf-compiler
9595
9696 - name : Setup protobuf for macOS
97- if : runner.os == 'macOS'
97+ if : ${{ github.runner_os == 'macOS' }}
9898 run : |
9999 brew install protobuf
Original file line number Diff line number Diff line change 7575 uses : actions/checkout@v3
7676 with :
7777 submodules : recursive
78+
79+ - name : Setup Go
80+ uses : actions/setup-go@v4
81+ with :
82+ go-version : ' 1.21'
7883
7984 - name : RustUp
8085 uses : klever-io/kos-rs/.github/actions/rustup@develop
8994 mkdir -p packages/kos-go/kos_mobile/lib/linux-amd64
9095 cp target/release/libkos_mobile.so packages/kos-go/kos_mobile/lib/linux-amd64/
9196
92- - name : Setup Go
93- uses : actions/setup-go@v4
94- with :
95- go-version : ' 1.21'
96-
9797 - name : Run Go tests
9898 run : |
9999 cd packages/kos-go
@@ -108,6 +108,11 @@ jobs:
108108 with :
109109 submodules : recursive
110110
111+ - name : Setup Go
112+ uses : actions/setup-go@v4
113+ with :
114+ go-version : ' 1.21'
115+
111116 - name : RustUp
112117 uses : klever-io/kos-rs/.github/actions/rustup@develop
113118 with :
@@ -121,11 +126,6 @@ jobs:
121126 mkdir -p packages/kos-go/kos_mobile/lib/darwin-aarch64
122127 cp target/release/libkos_mobile.dylib packages/kos-go/kos_mobile/lib/darwin-aarch64/
123128
124- - name : Setup Go
125- uses : actions/setup-go@v4
126- with :
127- go-version : ' 1.21'
128-
129129 - name : Run Go tests
130130 run : |
131131 cd packages/kos-go
You can’t perform that action at this time.
0 commit comments