Skip to content

more actions

more actions #21

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
# Triggers the workflow on push for the main and develop branch
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
build:

Check failure on line 14 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yaml

Invalid workflow file

You have an error in your yaml syntax on line 14
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v5
with:
ref: ${{ github.ref }}
- uses: actions/setup-java@v5
with:
java-version: 11
distribution: 'zulu'
architecture: x64
- name: Build with Maven
run: mvn -B package --file pom.xml