Skip to content

Use common workflows #99

Use common workflows

Use common workflows #99

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on: [push]
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Execute Gradle build
id: check
run: ./gradlew check --console=plain --warning-mode all
- uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: test-report
path: "$GITHUB_WORKSPACE/ical4j-connector-dav/build/reports/tests"