Skip to content

Update maven.yml

Update maven.yml #9

Workflow file for this run

name: Java CI with Maven
on:
push:
branches: [ main ]
jobs:
build:

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

View workflow run for this annotation

GitHub Actions / .github/workflows/maven.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK 11 for x64
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
architecture: x64
- name: Build with Maven
run: mvn -B package --file pom.xml