blob: 98ded79ec3ab2b4dd268adc4a4383600244fdfde [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
name: IntelliJ Platform Plugin Compatibility
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
compatibility:
name: Ensure plugin compatibility against 2018.1 ~ 2020.3 for IDEA Community, IDEA Ultimate
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2.3.4
- name: Setup Java 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build the plugin using Gradle
run: ./gradlew buildPlugin
- name: Verify Plugin on IntelliJ Platforms
id: verify
uses: ChrisCarini/intellij-platform-plugin-verifier-action@latest
with:
ide-versions: |
ideaIC:2018.1
ideaIC:2018.2
ideaIC:2018.3.6
ideaIC:2019.1.4
ideaIC:2019.3
ideaIC:2020.1
ideaIC:2020.2
ideaIC:2020.3
ideaIU:2018.1
ideaIU:2018.2
ideaIU:2018.3.6
ideaIU:2019.1.4
ideaIU:2019.3
ideaIU:2020.1
ideaIU:2020.2
ideaIU:2020.3
- name: Get log file path and print contents
run: |
echo "The verifier log file [${{steps.verify.outputs.verification-output-log-filename}}] contents : " ;
cat ${{steps.verify.outputs.verification-output-log-filename}}