File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ github : [ m1k1o ]
Original file line number Diff line number Diff line change 1+ name : " CI for builds"
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ jobs :
9+ build-amd64 :
10+ name : amd64-${{ matrix.libc }}
11+ runs-on : ubuntu-latest
12+
13+ strategy :
14+ matrix :
15+ include :
16+ - container : golang:1.19-bullseye
17+ libc : glibc
18+ - container : golang:1.19-alpine
19+ libc : musl
20+
21+ container :
22+ image : ${{ matrix.container }}
23+
24+ steps :
25+ - name : Checkout
26+ uses : actions/checkout@v3
27+
28+ - name : Build
29+ run : go build -ldflags="-s -w"
30+
31+ - name : Upload to releases
32+ uses : svenstaro/upload-release-action@v2
33+ id : attach_to_release
34+ with :
35+ file : go-transcode
36+ asset_name : go-transcode-amd64-${{ matrix.libc }}
37+ tag : ${{ github.ref }}
38+ overwrite : true
You can’t perform that action at this time.
0 commit comments