Create OSSMETADATA #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: collect reports | |
if: always() # run this step even if previous step failed | |
run: ./gradlew testReport | |
- 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 |