We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93adc81 commit ff1c117Copy full SHA for ff1c117
.github/workflows/publish.yml
@@ -11,10 +11,19 @@ on:
11
inputs:
12
sha:
13
description: The commit hash referring to the commit to check.
14
- required: true
+ required: false
15
ref:
16
description: The head branch associated with the pull request.
17
18
+ git_tag:
19
+ type: choice
20
+ description: The git tag associated with the release.
21
required: true
22
+ default: 'latest'
23
+ options:
24
+ - 'latest'
25
+ - 'prerelease'
26
+ - 'next'
27
28
env:
29
NODE_OPTIONS: --max_old_space_size=16384
@@ -51,6 +60,6 @@ jobs:
51
60
NPM_TOKEN: ${{ secrets.UMBRACO_PUBLISH_NPM_TOKEN}}
52
61
53
62
- name: Publish package
54
- run: npm run lerna:publish
63
+ run: npm run lerna:publish -- --dist-tag ${{ inputs.git_tag }}
55
64
56
65
0 commit comments