Skip to content

Commit da196f8

Browse files
committed
compile by github action
1 parent c84110c commit da196f8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/compile.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 'compile'
2+
on:
3+
push: {branches: ['compile']}
4+
pull_request: {}
5+
6+
jobs:
7+
compile:
8+
name: 'build (linux)'
9+
runs-on: 'ubuntu-latest'
10+
steps:
11+
- uses: 'actions/checkout@v4'
12+
- name: 'build (linux)'
13+
run: |
14+
go build -ldflags "-s -w" ./cmd/goatcounter/
15+
- uses: actions/upload-artifact@v4
16+
with:
17+
name: goatcounter-linux
18+
path: goatcounter

0 commit comments

Comments
 (0)