mirror of
https://github.com/oneclickvirt/backtrace.git
synced 2025-02-23 01:15:40 +08:00
Update main.yaml
This commit is contained in:
parent
b4ac40dfc0
commit
36de71acaa
8
.github/workflows/main.yaml
vendored
8
.github/workflows/main.yaml
vendored
@ -52,10 +52,10 @@ jobs:
|
|||||||
go-version: 'stable'
|
go-version: 'stable'
|
||||||
|
|
||||||
- name: Build and Release
|
- name: Build and Release
|
||||||
run: |
|
run: |
|
||||||
mkdir -p bin
|
mkdir -p bin
|
||||||
cd cmd
|
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" .
|
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
|
- name: Upload New Assets
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user