Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vinhjaxt authored Jan 29, 2024
1 parent a2a1569 commit e19862d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- name: Build
run: |
go mod tidy
GOOS=linux GOARCH=amd64 go build -o rdp-socks5-linux-gnu-amd64 -v ./...
GOOS=linux GOARCH=386 go build -o rdp-socks5-linux-gnu-386 -v ./...
GOOS=windows GOARCH=amd64 go build -o rdp-socks5-win64.exe -v ./...
GOOS=windows GOARCH=386 go build -o rdp-socks5-win32.exe -v ./...
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="-extldflags=-static -s -w" -o rdp-socks5-linux-amd64 -v ./...
CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -trimpath -ldflags="-extldflags=-static -s -w" -o rdp-socks5-linux-386 -v ./...
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -trimpath -ldflags="-extldflags=-static -s -w" -o rdp-socks5-win64.exe -v ./...
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -trimpath -ldflags="-extldflags=-static -s -w" -o rdp-socks5-win32.exe -v ./...
# Create release
- name: Generate release tag
Expand Down

0 comments on commit e19862d

Please sign in to comment.