ci: use only java version 8, 9 and 10
@@ -3,8 +3,7 @@ name: Gradle
on:
workflow_dispatch:
push:
- branches:
- - develop
+
pull_request:
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpaths
paths:
@@ -22,7 +21,7 @@ jobs:
matrix:
# https://github.com/actions/virtual-environments#available-environments
os: [ubuntu-18.04, ubuntu-20.04, macos-10.15] # windows-2016, windows-2019
- java: [8, 9, 10, 11, 12, 13, 15, 16]
+ java: [8, 9, 10]
runs-on: ${{ matrix.os }}
