forked from kaboomserver/extras
Use Java 8 in GitHub Actions workflow
This commit is contained in:
parent
6ba24f5edb
commit
ac00026797
1 changed files with 4 additions and 4 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue