From 551086bcfa2ee22358771e450d3ec146ad497678 Mon Sep 17 00:00:00 2001 From: noone <26899964+xxxXXX95@users.noreply.github.com> Date: Tue, 9 Nov 2021 11:14:38 +0800 Subject: [PATCH] Update workflow.yml --- .github/workflows/workflow.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 3ad9a7e..3ea0619 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -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