Make test wait for build job to complete
@@ -28,14 +28,14 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-java@v1
+ with:
+ java-version: 11
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- - uses: actions/checkout@v2
- - uses: actions/setup-java@v1
- with:
- java-version: 11
- run: mvn install -pl \!tests/acceptance-test -P reduce-logging -o
