File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -37,16 +37,22 @@ jobs:
3737 release :
3838 uses : google/j2cl/.github/workflows/release_common.yaml@master
3939
40- # The reusable workflow requires 'write' access to contents to push a git tag.
4140 permissions :
41+ # Permissions for creating a github release.
4242 contents : write
43+ # Permissions for publishing to bcr.
44+ id-token : write
45+ attestations : write
4346
4447 # Pass the inputs from the manual trigger to the reusable workflow.
4548 with :
4649 version : ${{ github.event.inputs.version }}
4750 publish_to_sonatype : true
4851 sonatype_auto_publish : ${{ github.event.inputs.sonatype_auto_publish == 'true' }}
52+ create_github_release : true
4953 continue_if_tag_exists : ${{ github.event.inputs.continue_if_tag_exists == 'true' }}
54+ publish_to_bcr : true
55+ bcr_bazel_test_command : " bazel build java/..."
5056
5157 # Allow the reusable workflow to access the secrets.
5258 secrets : inherit
You can’t perform that action at this time.
0 commit comments