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 : ' The version to release'
2323 required : true
2424 type : string
25- sonatype_auto_publish :
26- description : ' Automatically publish the release to Sonatype'
27- type : boolean
28- required : true
29- default : false
25+ base_tag :
26+ description : ' Existing git tag to build the release from. If not set, the latest commit will be used.'
27+ required : false
28+ type : string
3029 continue_if_tag_exists :
3130 description : ' Continue the workflow even if the GitHub tag already exists'
3231 type : boolean
3534
3635jobs :
3736 release :
38- uses : google/j2cl/ .github/workflows/release_common.yaml@master
37+ uses : ./ .github/workflows/release_common.yaml
3938
4039 permissions :
4140 # Permissions for creating a github release.
4746 # Pass the inputs from the manual trigger to the reusable workflow.
4847 with :
4948 version : ${{ github.event.inputs.version }}
50- publish_to_sonatype : true
51- sonatype_auto_publish : ${{ github.event.inputs.sonatype_auto_publish == 'true' }}
49+ publish_to_sonatype : false
50+ base_tag : ${{ if github.event.inputs.base_tag }}
5251 continue_if_tag_exists : ${{ github.event.inputs.continue_if_tag_exists == 'true' }}
5352
5453 # Allow the reusable workflow to access the secrets.
You can’t perform that action at this time.
0 commit comments