@@ -304,16 +304,6 @@ jobs:
304304 image-tag-prefix : ${{ inputs.image-tag-prefix }}
305305 last-publish-commit : ${{ inputs.last-publish-commit }}
306306
307- - name : Validate Catalog Metadata
308- if : ${{ success() && steps.export-dynamic.outputs.workspace-skipped-unchanged-since == 'false' }}
309- id : validate-metadata
310- uses : redhat-developer/rhdh-plugin-export-utils/validate-metadata@main
311- with :
312- overlay-root : ${{ github.workspace }}/overlay-repo/${{inputs.overlay-root}}
313- plugins-root : ${{ github.workspace }}/source-repo/${{inputs.plugins-root}}
314- target-backstage-version : ${{ inputs.target-backstage-version }}
315- image-repository-prefix : ${{ steps.set-image-tag-name.outputs.IMAGE_REPOSITORY_PREFIX }}
316-
317307 - name : Set artifacts name suffix
318308 id : set-artifacts-name-suffix
319309 shell : bash
@@ -409,3 +399,13 @@ jobs:
409399 Dynamic Plugins for Red Hat Developer Hub ${{ github.ref_name }}, exported from ${{ inputs.plugins-repo }}.
410400 files : ${{ github.workspace }}/dynamic-plugin-archives/*
411401 repository : ${{ github.repository }}
402+
403+ - name : Validate Catalog Metadata
404+ if : ${{ failure() || steps.export-dynamic.outputs.workspace-skipped-unchanged-since == 'false' }}
405+ id : validate-metadata
406+ uses : redhat-developer/rhdh-plugin-export-utils/validate-metadata@main
407+ with :
408+ overlay-root : ${{ github.workspace }}/overlay-repo/${{inputs.overlay-root}}
409+ plugins-root : ${{ github.workspace }}/source-repo/${{inputs.plugins-root}}
410+ target-backstage-version : ${{ inputs.target-backstage-version }}
411+ image-repository-prefix : ${{ steps.set-image-tag-name.outputs.IMAGE_REPOSITORY_PREFIX }}
0 commit comments