Skip to content

changing jdk version in settings.xml #60

changing jdk version in settings.xml

changing jdk version in settings.xml #60

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:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
uses: actions/setup-java@v2

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

View workflow run for this annotation

GitHub Actions / Java CI with Maven

Invalid workflow file

The workflow is not valid. .github/workflows/maven.yml (Line: 19, Col: 7): 'uses' is already defined
with:
distribution: 'oracle'
java-version: 11
- name: Build with Maven
run: mvn -B package --file pom.xml