Skip to content

Fix PR test reports action (#39) #17

Fix PR test reports action (#39)

Fix PR test reports action (#39) #17

Workflow file for this run

# Do not modify!
# This file was generated from a template using https://github.com/StefMa/pkl-gha
name: Build (main)
'on':
push:
branches:
- main
tags-ignore:
- '**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
permissions:
contents: read
jobs:
build-and-test:
permissions:
checks: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-java@v5
with:
java-version: '21'
distribution: temurin
cache: gradle
- name: Gradle build
run: ./gradlew build
- name: Publish test results
if: '!cancelled()'
uses: EnricoMi/publish-unit-test-result-action@v2
with:
comment_mode: 'off'
files: build/test-results/**/*.xml