Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 610f20a

Browse files
committed
fixup! Add install script test
1 parent b891110 commit 610f20a

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

.github/workflows/test.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ jobs:
5454
with:
5555
args: ./ci/steps/gendocs.sh
5656
install-test:
57-
runs-on: ubuntu-latest
57+
runs-on: ${{ matrix.os }}
58+
strategy:
59+
matrix:
60+
os: [macos-latest, ubuntu-latest]
5861
steps:
5962
- uses: actions/checkout@v1
6063
- run: ./ci/steps/install_test.sh

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,19 @@ You can find additional Coder Enterprise usage documentation on [https://enterpr
1212

1313
## Install Release
1414

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)
2216

2317
1. Click a release and download the tar file for your operating system (ex: coder-cli-linux-amd64.tar.gz)
2418
2. Extract the `coder` binary from the tar file, ex:
2519

2620
```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
2924
```
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+
```

ci/steps/install_test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ export CODER_INSTALL="$HOME/coder-1.12.2"
2424
# Test that we can install at a relative custom location.
2525
export CODER_INSTALL="."
2626
./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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy