diff --git a/.github/workflows/dynamic-matrix-subvalues.yml b/.github/workflows/dynamic-matrix-subvalues.yml index 674e721..3cca888 100644 --- a/.github/workflows/dynamic-matrix-subvalues.yml +++ b/.github/workflows/dynamic-matrix-subvalues.yml @@ -149,6 +149,13 @@ jobs: name: ${{ matrix.repositories.name }}-1 path: ${{ matrix.repositories.name }}.txt + if-failure: + needs: [prepare-1, run-matrix-1] + runs-on: ubuntu-latest + if: always() && needs.run-matrix-1.outputs.is-failure == 'true' + steps: + - run: echo "${{ needs.run-matrix-1.outputs.is-failure }}" + run-matrix-2: needs: prepare-2 name: ${{ matrix.repositories.name }} @@ -186,13 +193,6 @@ jobs: - run: echo ${{ needs.prepare-1.outputs.repositories }} - run: echo ${{ needs.prepare-2.outputs.repositories }} - if-failure: - needs: [prepare-1, run-matrix-1] - runs-on: ubuntu-latest - if: always() && needs.run-matrix-1.outputs.is-failure == 'true' - steps: - - run: echo "${{ needs.run-matrix-1.outputs.is-failure }}" - # post: # if: always() # needs: run-matrix