File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 description : ' Fixed Version'
2323 required : false
2424 type : string
25+ skip_version_retry_publish :
26+ type : boolean
27+ description : ' Skip running `lerna version` and run publish-only retry (useful to retry failed publish)'
2528
2629permissions :
2730 contents : write # to be able to publish a GitHub release
7477 run : pnpm build
7578
7679 - name : Lerna Version (build query)
80+ if : ${{ inputs.skip_version_retry_publish != true }}
7781 shell : bash
7882 run : |
7983 if [ "${{ inputs.dryrun }}" = "true" ] && [ "${{ inputs.graduate }}" = "true" ]; then
@@ -107,6 +111,7 @@ jobs:
107111 run : echo "${{ env.LERNA_VERSION_QUERY }}"
108112
109113 - name : Lerna Version 🏷️
114+ if : ${{ inputs.skip_version_retry_publish != true }}
110115 env :
111116 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
112117 shell : bash
@@ -115,6 +120,11 @@ jobs:
115120 git config --global user.email "${{ github.actor }}@users.noreply.github.com"
116121 pnpm exec ${{ env.LERNA_VERSION_QUERY }}
117122
123+ - name : Skip Lerna Version Notice
124+ if : ${{ inputs.skip_version_retry_publish == true }}
125+ run : |
126+ echo "skip_version_retry_publish=true — lerna version is skipped; proceeding to publish-only run."
127+
118128 - name : Lerna Publish (build query)
119129 shell : bash
120130 run : |
You can’t perform that action at this time.
0 commit comments