1
4
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:
kayos@tcp.direct 2023-02-02 23:11:58 -08:00
parent 130f127bb3
commit 921beaeeb4
Signed by: kayos
GPG Key ID: 4B841471B4BEE979

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