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:
parent
bead83cbbd
commit
a24ed71f03
15
.github/workflows/maven.yml
vendored
15
.github/workflows/maven.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user