Browse Source

Merge pull request #201 from porter-dev/beta.3.provisioning-integration

add cgo enabled to github action
abelanger5 5 years ago
parent
commit
427b71f2b3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .github/workflows/release.yaml

+ 3 - 0
.github/workflows/release.yaml

@@ -92,6 +92,7 @@ jobs:
         env:
           GOOS: linux
           GOARCH: amd64
+          CGO_ENABLED: 1
       # Note: we have to zip all binaries before uploading them as artifacts --
       # without this step, the binaries will be uploaded but the file metadata will
       # be listed as plaintext after downloading the artifact in a later step
@@ -112,6 +113,7 @@ jobs:
         env:
           GOOS: darwin
           GOARCH: amd64
+          CGO_ENABLED: 1
       - name: Zip Darwin binaries
         run: |
           mkdir -p ./release/darwin
@@ -127,6 +129,7 @@ jobs:
         env:
           GOOS: windows
           GOARCH: amd64
+          CGO_ENABLED: 1
       - name: Zip Windows binaries
         run: |
           mkdir -p ./release/windows