Skip to content

[build] publish lib in github maven repo #5

[build] publish lib in github maven repo

[build] publish lib in github maven repo #5

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: 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