Skip to content

Commit be5650c

Browse files
Merge pull request #108 from step-security/fix_Action-Releae-Workflow
fixed action release workflow
2 parents 26c0532 + 1243aaf commit be5650c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/actions_release.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
tag:
77
description: "Tag for the release"
88
required: true
9+
script:
10+
description: "Specify the build script to run"
11+
required: false
12+
type: string
13+
default: "yarn build"
914

1015
permissions:
1116
contents: read
@@ -18,4 +23,5 @@ jobs:
1823
contents: write
1924
uses: step-security/reusable-workflows/.github/workflows/actions_release.yaml@v1
2025
with:
21-
tag: "${{ github.event.inputs.tag }}"
26+
tag: "${{ github.event.inputs.tag }}"
27+
script: ${{ github.event.inputs.script || 'yarn build' }}

0 commit comments

Comments
 (0)