Skip to content

Prepare for multilanguage monorepo development #1

Prepare for multilanguage monorepo development

Prepare for multilanguage monorepo development #1

Workflow file for this run

on:
push:
branches: [main]
pull_request:
paths:
- 'kotlin/*'
defaults:
run:
working-directory: kotlin
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: false
matrix:
jre: [11]
os: [ubuntu-latest, windows-latest]
include:
- jre: 17
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install JDK ${{ matrix.jre }}
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: ${{ matrix.jre }}
- name: gradle caching
uses: gradle/gradle-build-action@v2
with:
gradle-home-cache-cleanup: true
- name: git fetch origin main
run: git fetch origin main
- name: gradlew build
run: ./gradlew build
- name: junit result
uses: mikepenz/action-junit-report@v4
if: always() # always run even if the previous step fails
with:
check_name: JUnit ${{ matrix.jre }} ${{ matrix.os }}
report_paths: '*/build/test-results/*/TEST-*.xml'