blob: bed0c217fd7cb9475a3864fec54649d161d69bc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
name: Build Go binaries on github release
on:
release:
types: [created] # only runs when you manually click "Create release" matching a tag
permissions:
contents: write
packages: write
jobs:
publish-binaries:
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin, windows]
goarch: [386, amd64, arm64]
exclude:
- goarch: "386" # darwin/386 not supported
goos: darwin
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.EKO_RELEASE_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: eko
project_path: ./cmd/client
sha256sum: true
md5sum: false
overwrite: true
retry: 5
|