Skip to content

Commit 67682eb

Browse files
committed
add it to workflow
1 parent 3b859ef commit 67682eb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/tag-release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ on:
2929
required: false
3030
type: string
3131
default: "main"
32+
extra_asset:
33+
description: "An extra asset to include in the release"
34+
required: false
35+
type: string
3236
outputs:
3337
version_tag:
3438
value: ${{ jobs.tag_release.outputs.version_tag }}
@@ -286,6 +290,7 @@ jobs:
286290
TAG_FORMAT: ${{ inputs.tag_format }}
287291
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
288292
MAIN_BRANCH: ${{ inputs.main_branch }}
293+
EXTRA_ASSET: ${{ inputs.extra_asset }}
289294

290295
- name: Create semantic release tag
291296
if: ${{ !inputs.dry_run }}
@@ -295,6 +300,7 @@ jobs:
295300
PUBLISH_PACKAGE: ${{ inputs.publish_package }}
296301
TAG_FORMAT: ${{ inputs.tag_format }}
297302
MAIN_BRANCH: ${{ inputs.main_branch }}
303+
EXTRA_ASSET: ${{ inputs.extra_asset }}
298304
run: |
299305
npx semantic-release --tag-format "${TAG_FORMAT}"
300306

0 commit comments

Comments
 (0)