mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
Use IntelliJ Platform Gradle Plugin 2.0 in GitHub Actions
This commit is contained in:
parent
51cac269b1
commit
b4ff5e14a9
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
|||||||
pluginVerifierHomeDir: ${{ steps.properties.outputs.pluginVerifierHomeDir }}
|
pluginVerifierHomeDir: ${{ steps.properties.outputs.pluginVerifierHomeDir }}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
# Check out current repository
|
# Check out the current repository
|
||||||
- name: Fetch Sources
|
- name: Fetch Sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
@ -73,8 +73,6 @@ jobs:
|
|||||||
echo "$CHANGELOG" >> $GITHUB_OUTPUT
|
echo "$CHANGELOG" >> $GITHUB_OUTPUT
|
||||||
echo "EOF" >> $GITHUB_OUTPUT
|
echo "EOF" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
./gradlew listProductsReleases # prepare list of IDEs for Plugin Verifier
|
|
||||||
|
|
||||||
# Build plugin
|
# Build plugin
|
||||||
- name: Build plugin
|
- name: Build plugin
|
||||||
run: ./gradlew buildPlugin
|
run: ./gradlew buildPlugin
|
||||||
@ -104,7 +102,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
# Check out current repository
|
# Check out the current repository
|
||||||
- name: Fetch Sources
|
- name: Fetch Sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
@ -157,7 +155,7 @@ jobs:
|
|||||||
tool-cache: false
|
tool-cache: false
|
||||||
large-packages: false
|
large-packages: false
|
||||||
|
|
||||||
# Check out current repository
|
# Check out the current repository
|
||||||
- name: Fetch Sources
|
- name: Fetch Sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
@ -188,7 +186,7 @@ jobs:
|
|||||||
tool-cache: false
|
tool-cache: false
|
||||||
large-packages: false
|
large-packages: false
|
||||||
|
|
||||||
# Check out current repository
|
# Check out the current repository
|
||||||
- name: Fetch Sources
|
- name: Fetch Sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
@ -214,7 +212,7 @@ jobs:
|
|||||||
|
|
||||||
# Run Verify Plugin task and IntelliJ Plugin Verifier tool
|
# Run Verify Plugin task and IntelliJ Plugin Verifier tool
|
||||||
- name: Run Plugin Verification tasks
|
- name: Run Plugin Verification tasks
|
||||||
run: ./gradlew runPluginVerifier -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }}
|
run: ./gradlew verifyPlugin -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }}
|
||||||
|
|
||||||
# Collect Plugin Verifier Result
|
# Collect Plugin Verifier Result
|
||||||
- name: Collect Plugin Verifier Result
|
- name: Collect Plugin Verifier Result
|
||||||
@ -235,7 +233,7 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
# Check out current repository
|
# Check out the current repository
|
||||||
- name: Fetch Sources
|
- name: Fetch Sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user