mirror of
https://github.com/whyvl/wireproxy.git
synced 2025-04-29 19:01:42 +02:00
Update build.yml
This commit is contained in:
parent
3b42962697
commit
a6f28cd782
1 changed files with 21 additions and 1 deletions
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
|
@ -3,6 +3,26 @@ on:
|
|||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
windowsAmd64Build:
|
||||
name: Build Windows amd64 Version
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setting up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.17
|
||||
- name: Building Windows amd64 Version
|
||||
run: |
|
||||
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o WireProxy_amd64.exe -v main.go
|
||||
mkdir release_windows_amd64
|
||||
mv WireProxy_amd64.exe wireproxy.exe
|
||||
cp wireproxy.exe release_windows_amd64/wireproxy.exe
|
||||
- name: Upload Windows amd64 Version
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: WireProxy_windows_amd64
|
||||
path: release_linux_amd64
|
||||
linuxAmd64Build:
|
||||
name: Build Linux amd64 Version
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue