This repository was archived by the owner on Aug 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Original file line number Diff line number Diff line change 54
54
with :
55
55
args : ./ci/steps/gendocs.sh
56
56
install-test :
57
- runs-on : ubuntu-latest
57
+ runs-on : ${{ matrix.os }}
58
+ strategy :
59
+ matrix :
60
+ os : [macos-latest, ubuntu-latest]
58
61
steps :
59
62
- uses : actions/checkout@v1
60
63
- run : ./ci/steps/install_test.sh
Original file line number Diff line number Diff line change @@ -12,18 +12,19 @@ You can find additional Coder Enterprise usage documentation on [https://enterpr
12
12
13
13
## Install Release
14
14
15
- Shell
16
-
17
- ```
18
- curl -fsSL https://raw.githubusercontent.com/cdr/coder-cli/master/install.sh | sh
19
- ```
20
-
21
- Alternatively, manually download the latest [ release] ( https://github.com/cdr/coder-cli/releases ) :
15
+ Download the latest [ release] ( https://github.com/cdr/coder-cli/releases )
22
16
23
17
1 . Click a release and download the tar file for your operating system (ex: coder-cli-linux-amd64.tar.gz)
24
18
2 . Extract the ` coder ` binary from the tar file, ex:
25
19
26
20
``` bash
27
- cd ~ /bin
28
- tar -xvf ~ /Downloads/coder-cli-linux-amd64.tar.gz
21
+ cd ~ /Downloads
22
+ tar -xvf ./coder-cli-darwin-amd64.tar.gz
23
+ ./coder --help
29
24
```
25
+
26
+ Alternatively, use this helper script for MacOS and Linux
27
+
28
+ ``` bash
29
+ curl -fsSL https://raw.githubusercontent.com/cdr/coder-cli/master/install.sh | sh
30
+ ```
Original file line number Diff line number Diff line change @@ -24,4 +24,5 @@ export CODER_INSTALL="$HOME/coder-1.12.2"
24
24
# Test that we can install at a relative custom location.
25
25
export CODER_INSTALL=" ."
26
26
./install.sh v1.12.2
27
- bin/coder --version | grep 1.12.2
27
+ bin/coder --version | grep 1.12.2
28
+ rm ./bin/coder
You can’t perform that action at this time.
0 commit comments