From 9f3d803b4eb9f62220354487f8762e1688fcc080 Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Sun, 11 Feb 2024 13:26:42 +0100 Subject: [PATCH] Fix misspell in test action --- .github/workflows/test.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2de0666..104adc1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,7 +36,7 @@ jobs: - run: mvn -V validate -Drequire.java=${{ matrix.java }} -Drequire.maven=${{ matrix.maven }} shell: bash - test-deault: + test-default: name: Test with defaults runs-on: ubuntu-latest @@ -51,14 +51,12 @@ jobs: test-ok: name: Test OK runs-on: ubuntu-latest - needs: [ test, test-deault ] + needs: [ test, test-default ] if: always() steps: - - run: echo "needs.test.result=${{ needs.test.result }} needs.test-deault.result=${{ needs.test-deault.result }}" - - run: 'true' - if: needs.test.result == 'success' && needs.test-deault.result == 'success' + if: join(needs.*.result, ',') == 'success,success' - run: 'false' - if: needs.test.result != 'success' || needs.test-deault.result != 'success' + if: join(needs.*.result, ',') != 'success,success'