3
0
mirror of https://github.com/Qortal/AT.git synced 2025-01-31 03:12: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 ] branches: [ master ]
jobs: jobs:
setup: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2
- name: Set up JDK 11 - name: Set up JDK 11
uses: actions/setup-java@v1 uses: actions/setup-java@v1
with: with:
java-version: 11 java-version: 11
- name: Checkout repo
build: - uses: actions/checkout@v2
needs: setup
runs-on: ubuntu-latest
steps:
- name: Build with Maven - name: Build with Maven
run: cd Java && mvn -B package --file pom.xml run: cd Java && mvn -B package --file pom.xml
test:
needs: build
runs-on: ubuntu-latest
steps:
- name: Test with Maven - name: Test with Maven
run: cd Java && mvn test run: cd Java && mvn test