Просмотр исходного кода

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

removed cgo from build artefacts
Porter Support 3 лет назад
Родитель
Сommit
7462573a03
1 измененных файлов с 2 добавлено и 2 удалено
  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: