Skip to content

Merge branch '2024.2' into 2024.3 #1768

Merge branch '2024.2' into 2024.3

Merge branch '2024.2' into 2024.3 #1768

Workflow file for this run

name: Test
on:
push:
branches: ['*']
pull_request:
branches: ['*']
jobs:
build:
name: Build
strategy:
matrix:
os:
- 'ubuntu-latest'
- 'macos-latest'
- 'windows-latest'
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- uses: actions-ecosystem/action-regex-match@d50fd2e7a37d0e617aea3d7ada663bd56862b9cc
id: branch-match
with:
text: ${{ github.ref }}
regex: '^refs\/heads\/\d{4}\.\d$'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: ${{ github.ref != 'refs/heads/dev' && steps.branch-match.outputs.match == '' }}
- shell: bash
run: |
mkdir -p ~/.gradle/
echo -e '\norg.gradle.jvmargs=-Xmx4G\n' >> ~/.gradle/gradle.properties
- name: Build
run: ./gradlew build --stacktrace
- name: Upload test reports
if: always()
uses: actions/upload-artifact@v4
with:
name: test-reports-${{ matrix.os }}
path: build/reports