Skip to content

Commit

Permalink
[Fix] 🐛 webFile Upgrade error
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-zklcdc committed Jul 25, 2023
1 parent 578acfb commit cee0073
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
Expand All @@ -27,6 +27,14 @@ jobs:
npm run build
cd ..
- name: Commit latest webFile
run: |
git config --global user.email "zklcdc@qq.com"
git config --global user.name "Harry-zklcdc"
git add web/*
git commit -m "[Upgrade] 🚀 Upload latest webFile"
git push origin HEAD:master
- name: Build binary
run: |
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -tags netgo -trimpath -o go-proxy-bingai main.go && tar -zcvf go-proxy-bingai-linux-amd64.tar.gz go-proxy-bingai
Expand Down

0 comments on commit cee0073

Please sign in to comment.