Skip to content

fix: revert version, SNAPSHOTS not supported #14

fix: revert version, SNAPSHOTS not supported

fix: revert version, SNAPSHOTS not supported #14

Workflow file for this run

name: Gradle Build
on:
pull_request:
paths-ignore:
- '**.md'
concurrency:
group: gradle-build-${{ github.ref }}
cancel-in-progress: true
env:
GITHUB_TOKEN: ${{ github.token }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: ${{ github.ref_name != 'main' }}
cache-cleanup: true
gradle-home-cache-includes: |
caches
notifications
jdks
wrapper
- name: Build
run: ./gradlew build --parallel --build-cache --stacktrace
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: '**/build/test-results/**/*.xml'
- name: Publish Test Report
if: always()
uses: actions/upload-artifact@v4
with:
name: test-report
path: '**/build/reports/tests/test/*'