Skip to content

Update and rename main.yml to github-actions.yml #1

Update and rename main.yml to github-actions.yml

Update and rename main.yml to github-actions.yml #1

name: Java CI with Maven
on:

Check failure on line 2 in .github/workflows/github-actions.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/github-actions.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
[ push, pull_request, workflow_dispatch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B -DskipTests package --file pom.xml