This commit is contained in:
spiritlhl
2024-05-05 09:35:57 +00:00
parent baf9a7d0a9
commit 238e39c058
3 changed files with 1 additions and 5 deletions
+1 -5
View File
@@ -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