File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
.github/actions/build-and-tag-locally Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ runs:
205205 fi
206206
207207 - name : Test the entrypoint
208+ id : test_entrypoint
208209 if : ${{ contains(fromJSON('["amd64", "i386"]'), steps.platform.outputs.display_name) }}
209210 shell : bash
210211 run : >
@@ -216,16 +217,13 @@ runs:
216217
217218 - name : Test Report
218219 uses : dorny/test-reporter@v2
219- # conditions should be the same as in Test the entrypoint
220- if : ${{ contains(fromJSON('["amd64", "i386"]'), steps.platform.outputs.display_name) }}
221- # run this step even if previous step failed
222- if : ${{ !cancelled() }}
220+ # run this step even if previous step failed, but not if it was skipped
221+ if : ${{ !cancelled() && steps.test_entrypoint.conclusion != 'skipped' }}
223222 with :
224223 name : Entrypoint Tests
225224 path : test/report.xml
226225 reporter : java-junit
227226
228-
229227 - name : Push image
230228 uses : docker/build-push-action@v6
231229 if : ${{ inputs.publish_image == 'true' && contains(fromJSON('["amd64"]'), steps.platform.outputs.display_name) }}
You can’t perform that action at this time.
0 commit comments