Skip to content

Make the task @CacheableTask, and explicitly add @OutputDirectory #57

Make the task @CacheableTask, and explicitly add @OutputDirectory

Make the task @CacheableTask, and explicitly add @OutputDirectory #57

Workflow file for this run

name: "Pull Request"
on:
pull_request:
paths-ignore:
- 'docs/**'
- '*.md'
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
- uses: gradle/actions/setup-gradle@v3
- run: ./gradlew build --full-stacktrace
- name: Bundle the build report
if: failure()
run: find . -type d -name 'reports' | zip -@ -r build-reports.zip
- name: Upload the build report
if: failure()
uses: actions/upload-artifact@master
with:
name: error-report
path: build-reports.zip