From bed51ed13811729b590bc6534ebacde079797051 Mon Sep 17 00:00:00 2001 From: Josh Johanning Date: Thu, 10 Oct 2024 12:51:57 -0500 Subject: [PATCH] test --- .github/workflows/dynamic-matrix-subvalues.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dynamic-matrix-subvalues.yml b/.github/workflows/dynamic-matrix-subvalues.yml index 3848113..3fb36b0 100644 --- a/.github/workflows/dynamic-matrix-subvalues.yml +++ b/.github/workflows/dynamic-matrix-subvalues.yml @@ -161,8 +161,10 @@ jobs: env: MATRIX_CONTEXT: ${{ toJson(matrix) }} run: echo "$MATRIX_CONTEXT" + - if: ${{ matrix.repositories.name == 'repo2' }} + run: sleep 10s && exit 1 - name: create failures sometimes - run: | + run: | milliseconds=$(date +%s%N | cut -b1-13) if (( milliseconds % 2 == 0 )); then # exit 1 @@ -189,7 +191,7 @@ jobs: runs-on: ubuntu-latest if: failure() steps: - - run: echo "${{ needs.run-matrix-1.outputs.is-failure }} + - run: echo "${{ needs.run-matrix-1.outputs.is-failure }}"" # post: # if: always()