We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f2e740 commit 4c034adCopy full SHA for 4c034ad
1 file changed
.github/workflows/build.yml
@@ -52,17 +52,18 @@ jobs:
52
- name: Run PMD checks
53
run: ./mvnw pmd:check
54
55
- deploy:
56
- needs: [build]
+ build-results:
+ name: Build results
57
+ if: ${{ always() }}
58
runs-on: ubuntu-latest
-
59
+ needs:
60
+ - build
61
steps:
- - name: Check out
- uses: actions/checkout@v3
62
- with:
63
- fetch-depth: 0
64
- - name: Set up JDK 11
65
- uses: actions/setup-java@v3
66
67
- distribution: "adopt"
68
- java-version: 11
+ - run: exit 1
+ # see https://stackoverflow.com/a/67532120/4907315
+ if: >-
+ ${{
+ contains(needs.*.result, 'failure')
+ || contains(needs.*.result, 'cancelled')
+ || contains(needs.*.result, 'skipped')
69
+ }}
0 commit comments