Skip to content

try to use AzulResolver #1967

try to use AzulResolver

try to use AzulResolver #1967

Workflow file for this run

name: CI
on:
push:
branches:
- main
- release-*
- debug
pull_request:
env:
build_java_version: 17
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Java
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: ${{ env.build_java_version }}
- name: Build
uses: gradle/actions/setup-gradle@v3
with:
arguments: build
- name: Check project files unmodified
run: |
directoryState="$(git status --porcelain)"
if [ -n "$directoryState" ]; then
echo "Some files were modified during build. Please run the build locally before checking in, as it ensures some source file conventions (like copyright header)."
echo "The following files were modified:"
echo "$directoryState"
exit 1
fi
test:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
test_java_version:
- 8
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Build JDK
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: ${{ env.build_java_version }}
- name: Test
uses: gradle/actions/setup-gradle@v3
with:
arguments: test -PallTests -PtestJavaVersion=${{ matrix.test_java_version }}
cache-disabled: true