Update main.yaml

This commit is contained in:
spiritlhl 2024-05-02 08:37:25 +08:00 committed by GitHub
parent b4ac40dfc0
commit 36de71acaa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,10 +52,10 @@ jobs:
go-version: 'stable'
- name: Build and Release
run: |
mkdir -p bin
cd cmd
CGO_ENABLED=0 GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o ../bin/backtrace-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.goarm }} -v -ldflags="-extldflags=-static" .
run: |
mkdir -p bin
cd cmd
CGO_ENABLED=0 GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o ../bin/backtrace-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.goarm }} -v -ldflags="-extldflags=-static" .
- name: Upload New Assets
run: |