File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1111 - uses : actions/checkout@v1
1212 - run : brew install --build-from-source ./coder-cli.rb
1313 - run : coder --version
14-
14+ coder_cli_nightly :
15+ strategy :
16+ matrix :
17+ os : [macos-latest, ubuntu-latest]
18+ runs-on : ${{ matrix.os }}
19+ steps :
20+ - uses : actions/checkout@v1
21+ - run : brew install --build-from-source ./coder-cli-nightly.rb
22+ - run : coder --version
Original file line number Diff line number Diff line change 1+ class CoderCliNightly < Formula
2+ desc "Command-line tool for the Coder remote development platform, nightly release channel"
3+ homepage "https://github.com/cdr/coder-cli"
4+ version "1.16.0-rc.0"
5+ bottle :unneeded
6+
7+ if OS . mac?
8+ url "https://github.com/cdr/coder-cli/releases/download/v1.16.0-rc.0/coder-cli-darwin-amd64.zip"
9+ sha256 "283fbdbbd57ca75361ac89fb0300546483c326bb047e7cd96eb524c39241c5c5"
10+ else
11+ url "https://github.com/cdr/coder-cli/releases/download/v1.16.0-rc.0/coder-cli-linux-amd64.tar.gz"
12+ sha256 "7552b45f956c2a027c58beb0867d6df32d75291a0a5b6ad0c6bc9957306da989"
13+ end
14+
15+ def install
16+ bin . install "coder"
17+ end
18+ test do
19+ system "#{ bin } /coder" , "--version"
20+ end
21+ end
You can’t perform that action at this time.
0 commit comments