mirror of
https://github.com/yunginnanet/HellPot
synced 2024-06-24 23:08:03 +00:00
CD: Setup target tag as input
This commit is contained in:
parent
130f127bb3
commit
921beaeeb4
4
.github/workflows/release-command.yml
vendored
4
.github/workflows/release-command.yml
vendored
@ -9,6 +9,9 @@ on:
|
||||
comment-id:
|
||||
description: 'The comment-id of the slash command'
|
||||
required: true
|
||||
tag:
|
||||
description: 'The tag to be released'
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
release:
|
||||
@ -36,6 +39,7 @@ jobs:
|
||||
build_flags: -trimpath
|
||||
pre_command: export CGO_ENABLED=0
|
||||
ldflags: -s -w
|
||||
release_tag: ${{ github.event.inputs.tag }}
|
||||
- name: Add reaction
|
||||
uses: peter-evans/create-or-update-comment@v2
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user