Skip to content

Commit 6d0fff0

Browse files
authored
Fix publish binaries workflow (#5133)
Signed-off-by: cobalt <61329810+cobaltt7@users.noreply.github.com>
1 parent d2490e2 commit 6d0fff0

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/publish_binaries.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ name: publish binaries
33
on:
44
release:
55
types: [published]
6+
workflow_dispatch:
7+
inputs:
8+
tag:
9+
required: true
10+
type: string
611

712
permissions: {}
813

@@ -61,4 +66,5 @@ jobs:
6166
6267
- run: gh release upload "$tag" dist/${{ matrix.asset_name }}
6368
env:
64-
tag: ${{ github.event.release.tag_name }}
69+
GH_TOKEN: ${{ github.token }}
70+
tag: ${{ inputs.tag || github.event.release.tag_name }}

0 commit comments

Comments
 (0)