check license every 3 hrs #536
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
#see https://github.com/ChrisCarini/intellij-platform-plugin-verifier-action | |
name: Plugin Verifier | |
on: [ push, pull_request ] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Build the plugin using Gradle | |
run: ./gradlew buildPlugin | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
gradle-home-cache-cleanup: true | |
- name: Verify Plugin on IntelliJ Platforms | |
id: verify | |
uses: ChrisCarini/intellij-platform-plugin-verifier-action@latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
ide-versions: | | |
ideaIC:2023.1 | |
ideaIC:LATEST-EAP-SNAPSHOT | |
failure-levels: | # see https://github.com/ChrisCarini/intellij-platform-plugin-verifier-action#failure-levels | |
OVERRIDE_ONLY_API_USAGES | |
NON_EXTENDABLE_API_USAGES | |
PLUGIN_STRUCTURE_WARNINGS | |
INVALID_PLUGIN | |
COMPATIBILITY_PROBLEMS | |
- 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}} |