Skip to content

Merge pull request #52 from 1c-syntax/dependabot/gradle/jvm-1.9.22 #188

Merge pull request #52 from 1c-syntax/dependabot/gradle/jvm-1.9.22

Merge pull request #52 from 1c-syntax/dependabot/gradle/jvm-1.9.22 #188

Workflow file for this run

name: Java CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
java_version: ['11', '17']
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java_version }}
distribution: 'adopt'
- name: Build with Gradle
run: ./gradlew check --stacktrace
- name: Archive test results
if: failure()
uses: actions/upload-artifact@v3
with:
name: junit_report_${{ matrix.os }}_${{ matrix.java_version }}
path: build/reports/tests/test