Skip to content

Commit

Permalink
Update workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxXXX95 authored Nov 9, 2021
1 parent 1c21b71 commit 551086b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,17 @@ jobs:
if: steps.changed-files.outputs.any_changed == 'true'
with:
go-version: '^1.16.3' # The Go version to download (if necessary) and use.
- name: cd gocode dir
run: cd gocode
- name: Build golang64
if: steps.changed-files.outputs.any_changed == 'true'
run: |
go version
cd gocode
GOOS=windows
GOARCH=amd64
go build -o yuyue-setup-amd64.exe main.go
- name: Build golang32
if: steps.changed-files.outputs.any_changed == 'true'
run: |
cd gocode
GOOS=windows
GOARCH=386
go build -o yuyue-setup-amd32.exe main.go
Expand Down

0 comments on commit 551086b

Please sign in to comment.