Skip to content

Commit 276bdfc

Browse files
authored
Merge pull request #91 from spinup-host/viggy28/cgo-releases
enable cgo in releases
2 parents cdcaf7b + 45e3365 commit 276bdfc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/go.yml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
github_token: ${{ secrets.GITHUB_TOKEN }}
2424
goos: ${{ matrix.goos }}
2525
goarch: ${{ matrix.goarch }}
26+
pre_command: export CGO_ENABLED=1
2627
goversion: "https://dl.google.com/go/go1.16.5.linux-amd64.tar.gz"
2728
binary_name: "spinup-backend"
2829
ldflags: "-X 'main.apiVersion=$RELEASE_TAG_NAME'"

0 commit comments

Comments
 (0)