Fix[CD]: try to fix go-release-action config

This commit is contained in:
kayos@tcp.direct 2024-05-01 12:56:03 -07:00
parent cefb21bfa1
commit c309667790
No known key found for this signature in database
GPG Key ID: 4B841471B4BEE979
1 changed files with 3 additions and 3 deletions

View File

@ -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