Skip to content

Commit 50e0ce4

Browse files
jDramaixcopybara-github
authored andcommitted
Refactor J2CL release workflows to prioritize validation and testing.
This change restructures the release process to ensure that all tests and initial validations (branch checks and tag existence) are successfully completed before any release artifacts are created or tags are pushed. It also cleans up unused parameters: `continue_if_tag_exists` and `create_github_release`. PiperOrigin-RevId: 904642344
1 parent 2d6e175 commit 50e0ce4

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

.github/workflows/release.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ on:
2929
description: 'The base RC version to use to create the final release. Should be formatted as X.Y.Z-RC.N'
3030
type: string
3131
required: false
32-
continue_if_tag_exists:
33-
description: 'Continue the workflow even if the GitHub tag already exists'
34-
type: boolean
35-
required: true
36-
default: false
3732

3833
jobs:
3934
validate_inputs:
@@ -102,7 +97,6 @@ jobs:
10297
version: ${{ github.event.inputs.version }}
10398
git_ref: ${{ github.event.inputs.base_rc_version && format('refs/tags/{0}', github.event.inputs.base_rc_version) || github.ref }}
10499
publish_to_sonatype: ${{ github.event.repository.name != 'jsinterop-generator' && github.event.repository.name != 'j2cl' }}
105-
continue_if_tag_exists: ${{ github.event.inputs.continue_if_tag_exists == 'true' }}
106100
publish_to_bcr: ${{ github.event.repository.name != 'jsinterop-annotations' }}
107101

108102
# Allow the reusable workflow to access the secrets.

0 commit comments

Comments
 (0)