3
0
mirror of https://github.com/Qortal/AT.git synced 2025-01-30 19:02:14 +00:00

Update maven.yml

This commit is contained in:
catbref 2020-11-24 10:42:01 +00:00 committed by GitHub
parent bead83cbbd
commit a24ed71f03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,25 +10,16 @@ on:
branches: [ master ]
jobs:
setup:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
build:
needs: setup
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v2
- name: Build with Maven
run: cd Java && mvn -B package --file pom.xml
test:
needs: build
runs-on: ubuntu-latest
steps:
- name: Test with Maven
run: cd Java && mvn test