File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 1515 description : If set, run a dry-run release
1616 default : false
1717 type : boolean
18+ skip_maven_deploy :
19+ description : |
20+ If enabled, the deployment to maven central will be skipped.
21+ Select this if the deployment job for this release failed in a previous version but the release was actually published.
22+ Check manually on maven central beforehand!
23+ type : boolean
24+ required : true
25+ default : false
1826
1927permissions :
2028 contents : read
4755 release :
4856 name : Release
4957 runs-on : ubuntu-latest
58+ if : ${{ ! inputs.skip_maven_deploy }}
5059 needs :
5160 - validate-tag
5261 steps :
@@ -85,10 +94,22 @@ jobs:
8594 :ghost: [${{ github.repository }}] Release *${{ github.ref_name }}* didn't get triggered in Buildkite.
8695 Build: (<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>)
8796
97+ await-maven-central-artifact :
98+ runs-on : ubuntu-latest
99+ name : Wait for release to be available on maven-central
100+ needs :
101+ - validate-tag
102+ steps :
103+ - uses : elastic/apm-pipeline-library/.github/actions/await-maven-artifact@current
104+ with :
105+ groupid : ' co.elastic.logging'
106+ artifactid : ' ecs-logging-core'
107+ version : ${{ inputs.version }}
108+
88109 post-release :
89110 name : " Bump versions and create PR"
90111 needs :
91- - release
112+ - await-maven-central-artifact
92113 uses : ./.github/workflows/pre-post-release.yml
93114 permissions :
94115 contents : write
You can’t perform that action at this time.
0 commit comments