mirror of
https://github.com/chainreactors/spray.git
synced 2025-06-20 09:50:21 +00:00
fix: cicd releaser
This commit is contained in:
parent
20b70d0dcd
commit
57c67fe36a
2
.github/workflows/gorelease.yml
vendored
2
.github/workflows/gorelease.yml
vendored
@ -8,7 +8,7 @@ on:
|
||||
|
||||
jobs:
|
||||
goreleaser:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
|
@ -25,12 +25,17 @@ builds:
|
||||
ldflags: "-s -w -X 'github.com/chainreactors/spray/cmd.ver=={{ .Tag }}'"
|
||||
flags:
|
||||
- -trimpath
|
||||
- -tags=forceposix
|
||||
asmflags:
|
||||
- all=-trimpath={{.Env.GOPATH}}
|
||||
gcflags:
|
||||
- all=-trimpath={{.Env.GOPATH}}
|
||||
no_unique_dist_dir: true
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
tags:
|
||||
- forceposix
|
||||
- osusergo
|
||||
- netgo
|
||||
|
||||
upx:
|
||||
-
|
||||
|
Loading…
x
Reference in New Issue
Block a user