Skip to content

Commit

Permalink
Use common workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Sep 8, 2024
1 parent 0036238 commit 9574a47
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/publish-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9574a47

Please sign in to comment.