Skip to content

dummy commit

dummy commit #9

Workflow file for this run

name: Java CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'temurin' # AdoptOpenJDK has been moved to Eclipse Temurin
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Run tests
run: mvn test # Executes the test phase
- name: Run application
run: java -jar ./target/demo-1.0-SNAPSHOT.jar ../project-gitignore/.gitignore ../project-gitignore ./project-gitignore true