jadb/.github/workflows/maven.yml

27 lines
658 B
YAML
Raw Normal View History

2022-02-08 16:20:49 +01:00
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# 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:
2022-02-08 17:08:47 +01:00
branches: [ master ]
2022-02-08 16:20:49 +01:00
pull_request:
2022-02-08 17:08:47 +01:00
branches: [ master ]
2022-02-08 16:20:49 +01:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'temurin'
cache: maven
2022-02-08 17:08:47 +01:00
- name: maven
2022-02-08 16:20:49 +01:00
run: mvn -B package --file pom.xml