Explorar el Código

Windows being Windows

ayn2op hace 2 años
padre
commit
5870e3e764
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      .github/workflows/ci.yml

+ 3 - 1
.github/workflows/ci.yml

@@ -16,7 +16,9 @@ jobs:
           go-version: '^1.20'
           go-version: '^1.20'
 
 
       - name: Build
       - name: Build
-        run: CGO_ENABLED=0 go build .
+        run: go build .
+        env:
+          CGO_ENABLED: 0
   
   
       - uses: actions/upload-artifact@v3
       - uses: actions/upload-artifact@v3
         if: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
         if: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}