We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29a2609 commit 65efcf7Copy full SHA for 65efcf7
.github/workflows/release.yml
@@ -0,0 +1,31 @@
1
+name: Release
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+permissions:
8
+ contents: write
9
+ packages: write
10
11
+jobs:
12
+ releases-matrix:
13
+ name: Release Go Binary
14
+ runs-on: ubuntu-latest
15
+ strategy:
16
+ matrix:
17
+ goos: [linux, windows, darwin]
18
+ goarch: [amd64, arm64]
19
+ exclude:
20
+ - goarch: arm64
21
+ goos: windows
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+ - uses: wangyoucao577/go-release-action@v1
25
+ with:
26
+ github_token: ${{ secrets.GITHUB_TOKEN }}
27
+ goos: ${{ matrix.goos }}
28
+ goarch: ${{ matrix.goarch }}
29
+ project_path: "./cmd"
30
+ binary_name: "jumpstarter-lab-config"
31
+ ldflags: "-s -w"
0 commit comments