File tree 1 file changed +22
-1
lines changed
1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 15
15
description : If set, run a dry-run release
16
16
default : false
17
17
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
18
26
19
27
permissions :
20
28
contents : read
47
55
release :
48
56
name : Release
49
57
runs-on : ubuntu-latest
58
+ if : ${{ ! inputs.skip_maven_deploy }}
50
59
needs :
51
60
- validate-tag
52
61
steps :
@@ -85,10 +94,22 @@ jobs:
85
94
:ghost: [${{ github.repository }}] Release *${{ github.ref_name }}* didn't get triggered in Buildkite.
86
95
Build: (<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>)
87
96
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
+
88
109
post-release :
89
110
name : " Bump versions and create PR"
90
111
needs :
91
- - release
112
+ - await-maven-central-artifact
92
113
uses : ./.github/workflows/pre-post-release.yml
93
114
permissions :
94
115
contents : write
You can’t perform that action at this time.
0 commit comments