Skip to content

Commit

Permalink
Merge pull request #73 from s4u/fix-misspell
Browse files Browse the repository at this point in the history
Fix misspell in test action
  • Loading branch information
slawekjaranowski committed Feb 11, 2024
2 parents 023b47f + 9f3d803 commit 6d44c18
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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'

0 comments on commit 6d44c18

Please sign in to comment.