Skip to content

[build] fix jdk 11 target #3

[build] fix jdk 11 target

[build] fix jdk 11 target #3

Workflow file for this run

name: 'querqy-unplugged'
on:
push:
branches:
- main
env:
SERVICE_NAME: querqy-unplugged
JDK_VERSION: 11
permissions:
id-token: write
contents: read # This is required for actions/checkout
statuses: write
checks: write
jobs:
build-from-script:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: setup java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- name: Setup Gradle
uses: gradle/[email protected]
- name: run tests
run: ./gradlew --refresh-dependencies check
- name: jar
run: ./gradlew :library:clean :library:assemble :library:testClasses :library:jar
- name: test report
uses: dorny/test-reporter@v1
if: always() # run this step even if previous step failed
with:
name: test report # Name of the check run which will be created
path: build/test-results/**/TEST-*.xml # Path to test results
reporter: java-junit