build: also run tests with java8

This commit is contained in:
Geoff Bourne
2021-12-06 22:15:32 -06:00
parent f7836abc06
commit 529d92fa63
3 changed files with 5 additions and 16 deletions

View File

@@ -54,7 +54,7 @@ jobs:
- name: Build for test
uses: docker/build-push-action@v2.7.0
if: github.ref_name == 'master'
if: github.ref_name == 'java8'
with:
context: .
platforms: linux/amd64
@@ -67,9 +67,11 @@ jobs:
cache-to: type=gha,mode=max
- name: Run tests
if: github.ref_name == 'master'
if: github.ref_name == 'java8'
run: |
tests/test.sh
env:
MINECRAFT_VERSION: 1.12.2
- name: Build and push
id: docker_build