Skip to content

Remove snapshot version (#113) #383

Remove snapshot version (#113)

Remove snapshot version (#113) #383

Workflow file for this run

name: Build and Test
on:
[ pull_request, push ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
# Used by gradle toolchain to actually build
- name: Set up JDK 24
uses: actions/setup-java@v4
with:
java-version: '24'
distribution: 'corretto'
cache: 'gradle'
# Because gradle 8.13 only supports Java 23, run the build with 23 and
# use the 24 version as a toolchain
- name: Set up JDK 23
uses: actions/setup-java@v4
with:
java-version: '23'
distribution: 'temurin'
cache: 'gradle'
- name: Build
run: ./gradlew build --no-daemon
- name: Add coverage to PR
if: github.event_name == 'pull_request'
id: jacoco
uses: madrapps/[email protected]
with:
paths: ${{ github.workspace }}/**/build/reports/jacoco/test/jacocoTestReport.xml
token: ${{ secrets.GITHUB_TOKEN }}