mirror of
https://github.com/yunginnanet/HellPot
synced 2024-06-28 08:40:48 +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:
|
comment-id:
|
||||||
description: 'The comment-id of the slash command'
|
description: 'The comment-id of the slash command'
|
||||||
required: true
|
required: true
|
||||||
|
tag:
|
||||||
|
description: 'The tag to be released'
|
||||||
|
required: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@ -36,6 +39,7 @@ jobs:
|
|||||||
build_flags: -trimpath
|
build_flags: -trimpath
|
||||||
pre_command: export CGO_ENABLED=0
|
pre_command: export CGO_ENABLED=0
|
||||||
ldflags: -s -w
|
ldflags: -s -w
|
||||||
|
release_tag: ${{ github.event.inputs.tag }}
|
||||||
- name: Add reaction
|
- name: Add reaction
|
||||||
uses: peter-evans/create-or-update-comment@v2
|
uses: peter-evans/create-or-update-comment@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user