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

Commit 50f96df

Browse files
committed
Add github action to build releases
1 parent eb2c835 commit 50f96df

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/build.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: build
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: macos-latest
8+
9+
env:
10+
GOPROXY: direct
11+
WSEP_SSH_KEY: ${{ secrets.WSEP_SSH_KEY }}
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v1
16+
17+
- name: Build
18+
run: |
19+
ssh-add - <<< "${WSEP_SSH_KEY}"
20+
git config --global url.ssh://git@github.com/.insteadOf https://github.com/
21+
./ci/build.sh
22+
23+
- name: Upload
24+
uses: actions/upload-artifact@v2
25+
with:
26+
path: ./ci/bin/coder-cli-*

0 commit comments

Comments
 (0)