Fix[CD]: try to fix go-release-action config
This commit is contained in:
parent
20e572c911
commit
b83b418bae
|
@ -2,7 +2,7 @@ name: Build and Release
|
|||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
types: [created]
|
||||
workflow_dispatch:
|
||||
# inputs:
|
||||
# repository:
|
||||
|
@ -34,7 +34,7 @@ jobs:
|
|||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
goos: ${{ matrix.goos }}
|
||||
goarch: ${{ matrix.goarch }}
|
||||
goversion: "https://dl.google.com/go/go1.22.2.linux-amd64.tar.gz"
|
||||
# goversion: "https://dl.google.com/go/go1.22.2.linux-amd64.tar.gz"
|
||||
project_path: "./cmd/HellPot"
|
||||
binary_name: "HellPot"
|
||||
compress_assets: OFF
|
||||
|
@ -42,7 +42,7 @@ jobs:
|
|||
build_flags: -trimpath
|
||||
pre_command: export CGO_ENABLED=0
|
||||
ldflags: -s -w -X main.version=${{ github.ref }}
|
||||
release_tag: ${{ github.ref }}
|
||||
# release_tag: ${{ github.ref }}
|
||||
md5sum: FALSE
|
||||
sha256sum: TRUE
|
||||
# - name: Add reaction
|
||||
|
|
Loading…
Reference in New Issue