Skip to content

Commit d18fef6

Browse files
committed
specify version in worflow dispatch
1 parent 5384feb commit d18fef6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/create-artifacts.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ name: Zip and Publish Subfolders
22
on:
33
release:
44
types: [published]
5+
workflow_dispatch:
6+
inputs:
7+
version:
8+
description: 'Version tag for the artifacts'
9+
required: true
10+
type: string
511
jobs:
612
zip-and-publish:
713
runs-on: ubuntu-latest
@@ -43,6 +49,7 @@ jobs:
4349
uses: softprops/action-gh-release@v2
4450
with:
4551
files: "*.zip"
52+
tag_name: ${{ github.event.inputs.version || github.ref_name }}
4653

4754
upload-templates-json:
4855
needs: upload-artifacts
@@ -54,3 +61,4 @@ jobs:
5461
uses: softprops/action-gh-release@v2
5562
with:
5663
files: templates.json
64+
tag_name: ${{ github.event.inputs.version || github.ref_name }}

0 commit comments

Comments
 (0)