File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 67
67
runs-on : ubuntu-latest
68
68
outputs :
69
69
version : ${{ format('{0}{1}', steps.version_release.outputs.version, steps.version_snapshot.outputs.version) }}
70
- build_matrix : ${{ format('{0}{1}', steps.build_matrix_v1.outputs.build_matrix, steps.build_matrix_v1 .outputs.build_matrix) }}
70
+ build_matrix : ${{ format('{0}{1}', steps.build_matrix_v1.outputs.build_matrix, steps.build_matrix_v2 .outputs.build_matrix) }}
71
71
steps :
72
72
- id : version_snapshot
73
73
if : ${{ inputs.snapshot }}
@@ -161,6 +161,7 @@ jobs:
161
161
- setup
162
162
- quality
163
163
- version_seal
164
+ if : ${{ always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') }}
164
165
strategy :
165
166
matrix :
166
167
java : ${{ fromJson(needs.setup.outputs.build_matrix) }}
@@ -183,7 +184,7 @@ jobs:
183
184
184
185
publish :
185
186
runs-on : ubuntu-latest
186
- if : ${{ github.repository == 'aws-powertools/powertools-lambda-java' }}
187
+ if : ${{ github.repository == 'aws-powertools/powertools-lambda-java' && inputs.skip_publish == false }}
187
188
needs :
188
189
- build
189
190
environment : Release
@@ -210,7 +211,7 @@ jobs:
210
211
211
212
create_pr :
212
213
runs-on : ubuntu-latest
213
- if : ${{ inputs.snapshot == false }}
214
+ if : ${{ inputs.snapshot == false && always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') }}
214
215
needs :
215
216
- build
216
217
- publish
You can’t perform that action at this time.
0 commit comments