From 9574a474b59a35384bf6bda801dba6ccece035d1 Mon Sep 17 00:00:00 2001 From: Ben Fortuna Date: Sun, 8 Sep 2024 14:35:28 +1000 Subject: [PATCH] Use common workflows --- .github/workflows/publish-snapshots.yml | 27 ++----------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/.github/workflows/publish-snapshots.yml b/.github/workflows/publish-snapshots.yml index eb9f5e5..3f76b28 100644 --- a/.github/workflows/publish-snapshots.yml +++ b/.github/workflows/publish-snapshots.yml @@ -9,31 +9,8 @@ on: permissions: read-all jobs: - gradle: - name: Test with Java ${{ matrix.jdk }} - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - jdk: [ '11', '17', '21' ] # removed JDK due to plugin errors - - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Set up JDK ${{ matrix.jdk }} - uses: actions/setup-java@v3 - with: - distribution: temurin - java-version: ${{ matrix.jdk }} - cache: 'gradle' - - - name: Setup Gradle - uses: gradle/gradle-build-action@v2 - - - name: Execute Gradle build - run: ./gradlew check -x test --console=plain --warning-mode all + test: + uses: ical4j/ical4j/.github/workflows/test.yml@develop publish: name: Publish Artifact