Bump gradle/actions from 3 to 4 #83
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/gradle-build-pr.yml | |
name: Run integration tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
gradle: | |
strategy: | |
matrix: | |
task: [docTest, integrationTest] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: 8 | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
# run the build | |
- run: ./gradlew ${{ matrix.task }} | |
# upload build output for later inspection, if the build failed | |
# N.B only applies to the last task in the matrix | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: wholebuild #testreports | |
path: build #build/reports/tests |