Skip to content

Commit 98ceed0

Browse files
author
Alexander Voigt
committed
chore: try to fix broken amd64 executable
1 parent 731c74a commit 98ceed0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ jobs:
5656
with:
5757
path: build-artifacts/templates.zip
5858
key: templates-${{ hashFiles('templates/**') }}
59-
- uses: actions/setup-go@v2
59+
- uses: actions/setup-go@v5
6060
with:
6161
go-version: '^1.17.x'
62-
- run: GOOS=linux GOARCH=amd64 go build -o build-artifacts/vistecture-linux-amd64 vistecture.go
63-
- run: GOOS=linux GOARCH=arm64 go build -o build-artifacts/vistecture-linux-arm64 vistecture.go
64-
- run: GOOS=windows go build -o build-artifacts/vistecture.exe vistecture.go
62+
- run: GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o build-artifacts/vistecture-linux-amd64 vistecture.go
63+
- run: GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o build-artifacts/vistecture-linux-arm64 vistecture.go
64+
- run: GOOS=windows CGO_ENABLED=0 go build -o build-artifacts/vistecture.exe vistecture.go
6565
- uses: actions/upload-artifact@v4
6666
with:
6767
name: binaries

0 commit comments

Comments
 (0)