File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a golang project
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3+
4+ name : Build Release
5+
6+ on :
7+ push :
8+ tags :
9+ - v*
10+
11+ permissions :
12+ contents : write
13+
14+ jobs :
15+ build :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v3
19+
20+ - name : Set up Go
21+ uses : actions/setup-go@v4
22+ with :
23+ go-version-file : go.mod
24+ check-latest : true
25+
26+ - name : Build
27+ run : make all
28+
29+ - name : Create Release and Upload Release Asset
30+ uses : softprops/action-gh-release@v1
31+ if : startsWith(github.ref, 'refs/tags/')
32+ with :
33+ name : Release ${{ github.ref_name }}
34+ draft : false
35+ prerelease : false
36+ files : |
37+ build/*
You can’t perform that action at this time.
0 commit comments