File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*"
7+ workflow_dispatch :
8+
9+ jobs :
10+ release :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 0
16+
17+ - name : Set up Go
18+ uses : actions/setup-go@v6.1.0
19+ with :
20+ go-version : " 1.25"
21+
22+ - name : Build releases
23+ working-directory : claat
24+ run : make release
25+
26+ - name : Upload artifacts
27+ if : github.event_name == 'workflow_dispatch'
28+ uses : actions/upload-artifact@v4
29+ with :
30+ name : claat-binaries
31+ path : |
32+ claat/bin/claat-*
33+ claat/bin/VERSION
34+ claat/bin/sha1sum.txt
35+
36+ - name : Release
37+ if : startsWith(github.ref, 'refs/tags/')
38+ uses : softprops/action-gh-release@v1
39+ with :
40+ files : |
41+ claat/bin/claat-*
42+ claat/bin/VERSION
43+ claat/bin/sha1sum.txt
You can’t perform that action at this time.
0 commit comments