🎨 #847
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
- 'dev/**' | |
- 'fix/**' | |
- 'feat/**' | |
- 'feature/**' | |
jobs: | |
check: | |
if: github.repository_owner == 'TAKETODAY' | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macOS-latest ] #, windows-latest | |
java: [ 21 ] | |
fail-fast: false | |
max-parallel: 4 | |
name: JDK ${{ matrix.java }} on ${{ matrix.os }} | |
steps: | |
- name: Fix Git Config | |
run: git config --system core.longpaths true | |
if: ${{ matrix.os == 'windows-latest' }} | |
- name: Checkout project sources | |
uses: actions/[email protected] | |
- name: Setup JDK 21 | |
uses: actions/[email protected] | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: adopt | |
- name: Print JDK Version | |
run: java -version | |
- name: Setup Gradle | |
uses: gradle/[email protected] | |
- name: Build with Gradle | |
run: ./gradlew -DCI=true --no-daemon --max-workers=4 build --scan --stacktrace |