File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release DockDiver Binaries
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ permissions :
8+ contents : write
9+
10+ jobs :
11+ release :
12+ name : Release Go Binary
13+ runs-on : ubuntu-latest
14+ strategy :
15+ matrix :
16+ goos : [linux, windows, darwin, freebsd]
17+ goarch : [386, amd64, arm, arm64]
18+ exclude :
19+ - goos : darwin
20+ goarch : 386
21+ - goos : darwin
22+ goarch : arm
23+ - goos : windows
24+ goarch : arm
25+ - goos : windows
26+ goarch : arm64
27+
28+ steps :
29+ - name : Checkout Code
30+ uses : actions/checkout@v4
31+
32+ - name : Set Up Go
33+ uses : actions/setup-go@v5
34+ with :
35+ go-version : " 1.24.1"
36+
37+ - name : Build and Release
38+ uses : wangyoucao577/go-release-action@v1
39+ with :
40+ github_token : ${{ secrets.RELEASE_TOKEN }}
41+ goos : ${{ matrix.goos }}
42+ goarch : ${{ matrix.goarch }}
43+ project_path : " ."
44+ binary_name : " dockdiver"
45+ extra_files : " README.md LICENSE"
46+ md5sum : " TRUE"
47+ sha256sum : " TRUE"
You can’t perform that action at this time.
0 commit comments