rework GitHub Actions: test with jdk 8 and 11
@@ -4,14 +4,17 @@ on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ java: [ 8, 11 ]
steps:
- uses: actions/checkout@master
- name: Setup Java
uses: actions/setup-java@v1
with:
- java-version: 11.x.x
+ java-version: ${{ matrix.java }}
- name: Build the plugin using Gradle
- run: ./gradlew buildPlugin -PdownloadIdeaSources=false -PenableBuildSearchableOptions=false --warning-mode all
+ run: ./gradlew buildPlugin -PdownloadIdeaSources=false --warning-mode all
- uses: thepieterdc/intellij-plugin-verifier-action@v1.1.2
with:
plugin: '/home/runner/work/intellij-extra-icons-plugin/intellij-extra-icons-plugin/build/distributions/*'
