Skip to content

Dev gradle ci

Dev gradle ci #2

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
ci:
name: 'Java ${{ matrix.java.version}} CI'
runs-on: ubuntu-latest
strategy:
matrix:
java:
- version: 21
- version: 22
steps:
- uses: actions/[email protected]
- name: 'Set up JDK ${{matrix.java.version}}'
uses: actions/[email protected]
with:
java-version: ${{matrix.java.version}}
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: current
- name: Gradle Run Build
run: gradle clean build
with:

Check failure on line 38 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Java CI with Gradle

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 38, Col: 9): Unexpected value 'with'
run-name: 'JDK ${{matrix.java.version}} CI'