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