Skip to content

Commit

Permalink
Fix[CD]: try to fix go-release-action config
Browse files Browse the repository at this point in the history
  • Loading branch information
yunginnanet committed May 1, 2024
1 parent 20e572c commit b83b418
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and Release

on:
release:
types: [published]
types: [created]
workflow_dispatch:
# inputs:
# repository:
Expand Down Expand Up @@ -34,15 +34,15 @@ 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
# extra_files: LICENSE README.md
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
Expand Down

0 comments on commit b83b418

Please sign in to comment.