mirror of
https://github.com/oneclickvirt/gostun.git
synced 2026-04-23 00:17:28 +08:00
update
This commit is contained in:
@@ -21,11 +21,6 @@ jobs:
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 'stable'
|
||||
|
||||
- name: Build and Test on Default Platform
|
||||
run: |
|
||||
go build -v ./...
|
||||
go test -v ./...
|
||||
|
||||
- name: Delete Existing Release Assets
|
||||
run: |
|
||||
@@ -54,6 +49,7 @@ jobs:
|
||||
- name: Build and Release
|
||||
run: |
|
||||
mkdir -p bin
|
||||
cd cmd
|
||||
CGO_ENABLED=0 GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o ../bin/gostun-${{ matrix.goos }}-${{ matrix.goarch }} -v -ldflags="-extldflags=-static" .
|
||||
|
||||
- name: Upload New Assets
|
||||
|
||||
Reference in New Issue
Block a user