Skip to content

github/workflows/gradle.yml: Excluding java 8 on macos because is not… #282

github/workflows/gradle.yml: Excluding java 8 on macos because is not…

github/workflows/gradle.yml: Excluding java 8 on macos because is not… #282

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
java: [ 8, 11 ]
exclude:

Check failure on line 18 in .github/workflows/gradle.yml

View workflow run for this annotation

GitHub Actions / Java CI with Gradle

Invalid workflow file

The workflow is not valid. .github/workflows/gradle.yml (Line: 18, Col: 7): Unexpected value 'exclude'
- os: macos-latest
java: 8
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew