Skip to content

Update ci.yml

Update ci.yml #19

Workflow file for this run

name: Maven Build
on:
push:
jobs:
build:
runs-on: ubuntu-latest
permissions: read

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

View workflow run for this annotation

GitHub Actions / Maven Build

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 8, Col: 18): Unexpected value 'read'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: adopt
java-version: 21
cache: maven
- name: Build
run: mvn -B package --file pom.xml