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 afb6511

Browse files
committed
fixup! Disable cgo for windows build
1 parent 5bd6f0d commit afb6511

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

.github/workflows/build.yaml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,22 @@ on: [push]
33

44
jobs:
55
build:
6-
runs-on: ubuntu-latest
6+
runs-on: macos-latest
77
steps:
88
- name: Checkout
99
uses: actions/checkout@v1
10-
# - name: Install Gon
11-
# run: |
12-
# brew tap mitchellh/gon
13-
# brew install mitchellh/gon/gon
14-
# - name: Import Signing Certificates
15-
# uses: Apple-Actions/import-codesign-certs@v1
16-
# with:
17-
# p12-file-base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }}
18-
# p12-password: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_PASSWORD }}
10+
- uses: actions/setup-go@v2
11+
with:
12+
go-version: '^1.15.6' # The Go version to download (if necessary) and use.
13+
- name: Install Gon
14+
run: |
15+
brew tap mitchellh/gon
16+
brew install mitchellh/gon/gon
17+
- name: Import Signing Certificates
18+
uses: Apple-Actions/import-codesign-certs@v1
19+
with:
20+
p12-file-base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }}
21+
p12-password: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_PASSWORD }}
1922
- name: Build
2023
run: ./ci/steps/build.sh
2124
env:

0 commit comments

Comments
 (0)