Skip to content

Fix build

Fix build #6142

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
java: [17-jdk, 20-jdk]
runs-on: ubuntu-22.04
container:
image: eclipse-temurin:${{ matrix.java }}
options: --user root
steps:
- uses: actions/checkout@v3
- run: ./gradlew build javadocJar checkMappings --stacktrace --warning-mode fail
- name: Build artifacts
if: ${{ matrix.java == '20-jdk' }}
continue-on-error: true
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: build/libs/
test-build-logic:
runs-on: ubuntu-22.04
container:
image: eclipse-temurin:20-jdk
options: --user root
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
- run: ./gradlew :filament:build