Skip to content

github actions self hosted #2

github actions self hosted

github actions self hosted #2

Workflow file for this run

name: Run Tests
on:
push
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Execute Gradle build
run: ./gradlew build
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success()
with:
fail_on_failure: true
report_paths: '**/build/test-results/test/TEST-*.xml'