Skip to content

Add more fixes

Add more fixes #16

name: Plugin Verification Build
on:
push:
branches:
- master
- 2.[0-9]+.x
workflow_dispatch:
jobs:
read-versions:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Read IntelliJ IDEA versions
id: set-env
run: |
sinceBuild=$(grep "^sinceBuild" gradle.properties | cut -d'=' -f2)
untilBuild=$(grep "^untilBuild" gradle.properties | cut -d'=' -f2)
echo "min-idea-version=${sinceBuild}" >> $GITHUB_ENV
echo "max-idea-version=${untilBuild}" >> $GITHUB_ENV
echo "min-idea-version=${sinceBuild}"
echo "max-idea-version=${untilBuild}"
outputs:
min_idea_version: ${{ steps.set-env.outputs.min-idea-version }}
max_idea_version: ${{ steps.set-env.outputs.max-idea-version }}
verify-plugin:
needs: read-versions
runs-on: ubuntu-latest
concurrency:
group: ${{ github.head_ref }}-ubuntu-verify
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
idea_version: [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
- name: Verify against IDEA ${{ matrix.idea_version }}
run: ./gradlew runIde -PideaVersion=${{ matrix.idea_version }}