Skip to content

Commit 7a439b2

Browse files
committed
update .github\workflows\go.yml
1 parent cdd3838 commit 7a439b2

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/go.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ jobs:
1111
go-version: 1.13
1212
id: go
1313

14+
- name: setup env
15+
run: |
16+
echo "::set-env name=GOPATH::$(go env GOPATH)"
17+
echo "::add-path::$(go env GOPATH)/bin"
18+
1419
- name: Check out code into the Go module directory
1520
uses: actions/checkout@v2
1621

@@ -23,7 +28,19 @@ jobs:
2328
fi
2429
2530
- name: Build
26-
run: go build -v .
31+
run: |
32+
make build_tool
33+
mkdir release
34+
cd release
35+
make -f ../Makefile multiple_build
36+
cd ..
37+
38+
- name: Artifact
39+
uses: actions/upload-artifact@v1
40+
with:
41+
name: release-build
42+
path: release/FictionDown_*
43+
2744
test:
2845
name: Test
2946
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)