Use Java 8 in GitHub Actions workflow

This commit is contained in:
kaboom 2021-10-23 05:21:14 +03:00
parent e34d2e17f4
commit 1fa24c9edd

View file

@ -7,15 +7,15 @@ on:
branches: [ master ]
jobs:
build_and_test:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 16
uses: actions/setup-java@v1
- uses: actions/setup-java@v2
with:
java-version: 16
distribution: 'temurin'
java-version: 8
- name: Cache maven packages to speed up build
uses: actions/cache@v1