Merge pull request #77 from NipunaRanasinghe/docs2 #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Plugin Verification Build | |
on: | |
push: | |
branches: | |
- master | |
- 2.[0-9]+.x | |
workflow_dispatch: | |
jobs: | |
verify-plugin: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.head_ref }}-ubuntu-verify | |
cancel-in-progress: true | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
- name: Cache Gradle dependencies | |
id: cache-gradle-dependencies | |
uses: actions/cache@v4.0.2 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/build.gradle', '**/gradle.properties') }} | |
restore-keys: ${{ runner.os }}-gradle- | |
- name: Run Plugin Verifier | |
run: ./gradlew runPluginVerifier |