File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 description : ' Dry run (generate and test, but do not push)'
3333 type : boolean
3434 default : false
35+ skip_publish :
36+ description : ' Push to SDK repos but skip publishing (no version bump)'
37+ type : boolean
38+ default : false
3539
3640env :
3741 CARGO_TERM_COLOR : always
5458 token : ${{ secrets.GITHUB_TOKEN }}
5559
5660 - name : Bump version
61+ if : ${{ !inputs.skip_publish }}
5762 run : |
5863 chmod +x ./scripts/version.sh
5964 ./scripts/version.sh ${{ inputs.sdk }} ${{ inputs.bump }}
8085 fi
8186
8287 - name : Commit version bump
83- if : ${{ !inputs.dry_run }}
88+ if : ${{ !inputs.dry_run && !inputs.skip_publish }}
8489 run : |
8590 git config user.name "github-actions[bot]"
8691 git config user.email "github-actions[bot]@users.noreply.github.com"
@@ -105,6 +110,7 @@ jobs:
105110 echo "| SDK | ${{ inputs.sdk }} |" >> $GITHUB_STEP_SUMMARY
106111 echo "| Bump | ${{ inputs.bump }} |" >> $GITHUB_STEP_SUMMARY
107112 echo "| Dry Run | ${{ inputs.dry_run }} |" >> $GITHUB_STEP_SUMMARY
113+ echo "| Skip Publish | ${{ inputs.skip_publish }} |" >> $GITHUB_STEP_SUMMARY
108114 echo "" >> $GITHUB_STEP_SUMMARY
109115 echo "### Versions" >> $GITHUB_STEP_SUMMARY
110116 echo "- Python: \`${{ steps.versions.outputs.python }}\`" >> $GITHUB_STEP_SUMMARY
Load diff This file was deleted.
Load diff This file was deleted.
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments