Explorar o código

Merge pull request #2598 from porter-dev/remove-cgo

removed cgo from build artefacts
Porter Support %!s(int64=3) %!d(string=hai) anos
pai
achega
7462573a03
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      .github/workflows/prerelease.yaml

+ 2 - 2
.github/workflows/prerelease.yaml

@@ -149,7 +149,7 @@ jobs:
         env:
           GOOS: linux
           GOARCH: amd64
-          CGO_ENABLED: 1
+          CGO_ENABLED: 0
       # 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
@@ -211,7 +211,7 @@ jobs:
         env:
           GOOS: darwin
           GOARCH: amd64
-          CGO_ENABLED: 1
+          CGO_ENABLED: 0
       - name: Upload binaries
         uses: actions/upload-artifact@v2
         with: