Skip to content

Commit 0e922e0

Browse files
committed
ci(action): Add Github Action support
1 parent 551da0b commit 0e922e0

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: build-echoo
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up Golang
15+
uses: actions/setup-go@v2
16+
with:
17+
go-version: '^1.15.6'
18+
- run: go version
19+
- name: Build echoo
20+
run: |
21+
bash build.sh
22+
ls -la dist || true
23+
- name: Archive production artifacts
24+
uses: actions/upload-artifact@v2
25+
with:
26+
name: latest-build
27+
path: |
28+
dist

0 commit comments

Comments
 (0)