Skip to content

Commit 7153674

Browse files
authored
Merge pull request #338 from databacker/fix-release-build-artifacts
switch release builds from xgo to simple make build-all
2 parents 9bed509 + f6c5c81 commit 7153674

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,9 @@ jobs:
2626
uses: actions/setup-go@v1
2727
with:
2828
go-version: 1.21
29-
- name: Build with xgo
30-
uses: crazy-max/ghaction-xgo@v3
31-
with:
32-
xgo_version: latest
33-
go_version: 1.21
34-
dest: dist
35-
targets: windows/386,windows/amd64,windows/arm64,linux/386,linux/amd64,linux/arm64,darwin/amd64,darwin/arm64
36-
v: true
37-
x: true
38-
ldflags: -s -w
29+
- name: Build for all platforms
30+
run: |
31+
make build-all
3932
- name: Release
4033
uses: softprops/action-gh-release@v1
4134
with:

0 commit comments

Comments
 (0)