Skip to content

Fix builds on MacOS ARM64 with Java 8 (Temurin). #12

Fix builds on MacOS ARM64 with Java 8 (Temurin).

Fix builds on MacOS ARM64 with Java 8 (Temurin). #12

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: pr-verify
on:
# Trigger the workflow on pushes to only the 'main' branch (this avoids duplicate checks being run e.g., for dependabot pull requests)
push:
branches: [ main ]
# Trigger the workflow on any pull request
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
architecture: ${{ matrix.os == 'macos-latest' && 'x64' || '' }}
cache: 'maven'
- name: Run Tests
run: ./mvnw -B '-Dlemminx.cacheInRepoDir' clean verify