Skip to content

Commit 3a62574

Browse files
committed
github: ensure static release artifact
We want our release artifacts to run on as many machines as possible. This means we want to create static binaries, which we can do by disabling cgo.
1 parent ab1aa1a commit 3a62574

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout code
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616
- name: Setup GO
17-
uses: actions/setup-go@v2
17+
uses: actions/setup-go@v4
1818
- name: Build project
19+
env:
20+
CGO_ENABLED: "0"
1921
run: |
2022
make release
2123
- name: Create Release

0 commit comments

Comments
 (0)