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
No known key found for this signature in database
GPG Key ID: 4B841471B4BEE979
1 changed files with 4 additions and 0 deletions

View File

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