Skip to content

Commit b40da6b

Browse files
authored
Release workflow : cange to choice input and fix (#116)
Signed-off-by: BOUHOURS Antoine <[email protected]>
1 parent 405729c commit b40da6b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/release.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,24 @@ on:
44
workflow_dispatch:
55
inputs:
66
versionType:
7-
description: version type increment (major | minor | patch)
7+
description: version type increment
88
required: true
9+
type: choice
10+
options:
11+
- major
12+
- minor
13+
- patch
914
nodeAuthToken:
15+
description: NPM access token
1016
required: true
1117
type: string
18+
1219
jobs:
1320
release:
1421
runs-on: ubuntu-latest
1522
steps:
1623
- name: Mask Node Auth Token
17-
- run: |
24+
run: |
1825
NODE_AUTH_TOKEN=$(jq -r '.inputs.nodeAuthToken' $GITHUB_EVENT_PATH)
1926
echo ::add-mask::$NODE_AUTH_TOKEN
2027
echo NODE_AUTH_TOKEN=$NODE_AUTH_TOKEN >> $GITHUB_ENV

0 commit comments

Comments
 (0)