mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-29 09:47:50 +08:00
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3. - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/setup-java dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
33 lines
1.2 KiB
YAML
33 lines
1.2 KiB
YAML
name: Check API Changes pages
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
paths: [ 'reference_guide/**', '.github/workflows/docs.yml' ]
|
|
pull_request:
|
|
paths: [ 'reference_guide/**', '.github/workflows/docs.yml' ]
|
|
|
|
jobs:
|
|
|
|
documentedProblemsPageVerification:
|
|
name: Documented Problems Page Verification
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Fetch Sources
|
|
uses: actions/checkout@v3
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
distribution: zulu
|
|
java-version: 11
|
|
- name: Download Plugin Verifier
|
|
run: |
|
|
curl -s https://api.github.com/repos/JetBrains/intellij-plugin-verifier/releases/latest \
|
|
| jq -r '.assets[].browser_download_url' \
|
|
| xargs curl -L --output ~/verifier-all.jar
|
|
- name: Run Plugin Verifier
|
|
run: |
|
|
PR_REPOSITORY=$(jq -re ".pull_request.head.repo.full_name // empty" $GITHUB_EVENT_PATH) || true
|
|
REPOSITORY=${PR_REPOSITORY:-$GITHUB_REPOSITORY}
|
|
REF=${GITHUB_HEAD_REF:-$GITHUB_REF}
|
|
java -cp ~/verifier-all.jar com.jetbrains.pluginverifier.filtering.documented.DocumentedProblemsPageVerifierMain $REPOSITORY ${REF##*/}
|