Skip to content
This repository was archived by the owner on Mar 4, 2021. It is now read-only.

Commit 008258d

Browse files
authored
Update go.yml
1 parent 3bad8e0 commit 008258d

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/go.yml

+4-11
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,12 @@ jobs:
1010
build:
1111
name: Build
1212
runs-on: ubuntu-latest
13-
steps:
14-
15-
- name: Set up Go 1.13
16-
uses: actions/setup-go@v1
17-
with:
18-
go-version: 1.13
19-
id: go
20-
21-
- name: Install Mingw-w64
22-
run: apt-get install gcc-mingw-w64-i686
13+
steps:
14+
- name: Prepare builder
15+
run: docker pull tnze/coolq-golang-builder
2316

2417
- name: Check out code into the Go module directory
2518
uses: actions/checkout@v1
2619

2720
- name: Build
28-
run: go build -ldflags "-s -w" -buildmode=c-shared -o app.dll
21+
run: docker run --rm -v $GITHUB_WORKSPACE:/home tnze/coolq-golang-builder

0 commit comments

Comments
 (0)