Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 63bd2b3

Browse files
committed
fixup! Disable cgo for windows build
1 parent beee797 commit 63bd2b3

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on: [push]
33

44
jobs:
55
build:
6-
runs-on: windows-latest
6+
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout
99
uses: actions/checkout@v1
@@ -20,15 +20,10 @@ jobs:
2020
# p12-file-base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }}
2121
# p12-password: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_PASSWORD }}
2222
- name: Build
23-
# run: ./ci/steps/build.sh
24-
run: |
25-
go build -ldflags "-X cdr.dev/coder-cli/internal/version.Version=vdean" -o ./ci/bin/coder-cli-windows.exe ./cmd/coder
23+
run: ./ci/steps/build.sh
2624
env:
2725
AC_USERNAME: ${{ secrets.AC_USERNAME }}
2826
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
29-
GOOS: windows
30-
GOARCH: '386'
31-
CGO_ENABLED: '0'
3227
- name: Upload
3328
uses: actions/upload-artifact@v2
3429
with:

0 commit comments

Comments
 (0)