Skip to content

Commit 318edb9

Browse files
committed
Skip verification
1 parent e5df631 commit 318edb9

File tree

2 files changed

+1
-73
lines changed

2 files changed

+1
-73
lines changed

.github/workflows/build.yml

+1-66
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
# GitHub Actions Workflow is created for preparing the plugin release in the following steps:
2-
# - Validate Gradle Wrapper.
3-
# - Run 'verifyPlugin' task.
4-
# - Run the 'buildPlugin' task and prepare artifact.
5-
# - Run the 'runPluginVerifier' task.
6-
# - Create a draft release.
7-
#
8-
# The workflow is triggered on push and pull_request events.
9-
#
10-
# GitHub Actions reference: https://help.github.com/en/actions
11-
#
12-
## JBIJPPTPL
13-
141
name: Build
152
on:
163
# Trigger the workflow on pushes to only the 'master' branch (this avoids duplicate checks being run e.g., for dependabot pull requests)
@@ -32,7 +19,6 @@ jobs:
3219
outputs:
3320
version: ${{ steps.properties.outputs.version }}
3421
changelog: ${{ steps.properties.outputs.changelog }}
35-
pluginVerifierHomeDir: ${{ steps.properties.outputs.pluginVerifierHomeDir }}
3622
steps:
3723

3824
# Check out the current repository
@@ -66,7 +52,6 @@ jobs:
6652
CHANGELOG="$(./gradlew getChangelog --unreleased --no-header --console=plain -q)"
6753
6854
echo "version=$VERSION" >> $GITHUB_OUTPUT
69-
echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT
7055
7156
echo "changelog<<EOF" >> $GITHUB_OUTPUT
7257
echo "$CHANGELOG" >> $GITHUB_OUTPUT
@@ -94,62 +79,12 @@ jobs:
9479
name: ${{ steps.artifact.outputs.filename }}
9580
path: ./build/distributions/content/*/*
9681

97-
# Run plugin structure verification along with IntelliJ Plugin Verifier
98-
verify:
99-
name: Verify plugin
100-
needs: [ build ]
101-
runs-on: ubuntu-latest
102-
steps:
103-
104-
# Free GitHub Actions Environment Disk Space
105-
- name: Maximize Build Space
106-
uses: jlumbroso/free-disk-space@main
107-
with:
108-
tool-cache: false
109-
large-packages: false
110-
111-
# Check out the current repository
112-
- name: Fetch Sources
113-
uses: actions/checkout@v4
114-
115-
# Set up Java environment for the next steps
116-
- name: Setup Java
117-
uses: actions/setup-java@v4
118-
with:
119-
distribution: zulu
120-
java-version: 17
121-
122-
# Setup Gradle
123-
- name: Setup Gradle
124-
uses: gradle/actions/setup-gradle@v3
125-
with:
126-
gradle-home-cache-cleanup: true
127-
128-
# Cache Plugin Verifier IDEs
129-
- name: Setup Plugin Verifier IDEs Cache
130-
uses: actions/cache@v4
131-
with:
132-
path: ${{ needs.build.outputs.pluginVerifierHomeDir }}/ides
133-
key: plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }}
134-
135-
# Run Verify Plugin task and IntelliJ Plugin Verifier tool
136-
- name: Run Plugin Verification tasks
137-
run: ./gradlew verifyPlugin -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }}
138-
139-
# Collect Plugin Verifier Result
140-
- name: Collect Plugin Verifier Result
141-
if: ${{ always() }}
142-
uses: actions/upload-artifact@v4
143-
with:
144-
name: pluginVerifier-result
145-
path: ${{ github.workspace }}/build/reports/pluginVerifier
146-
14782
# Prepare a draft release for GitHub Releases page for the manual verification
14883
# If accepted and published, release workflow would be triggered
14984
releaseDraft:
15085
name: Release draft
15186
if: github.event_name != 'pull_request'
152-
needs: [ build, verify ]
87+
needs: [ build ]
15388
runs-on: ubuntu-latest
15489
permissions:
15590
contents: write

build.gradle.kts

-7
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ dependencies {
4242
plugins(providers.gradleProperty("platformPlugins").map { it.split(',') })
4343

4444
instrumentationTools()
45-
pluginVerifier()
4645
zipSigner()
4746
testFramework(TestFrameworkType.Platform)
4847
}
@@ -98,12 +97,6 @@ intellijPlatform {
9897
// https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel
9998
channels = providers.gradleProperty("pluginVersion").map { listOf(it.substringAfter('-', "").substringBefore('.').ifEmpty { "default" }) }
10099
}
101-
102-
pluginVerification {
103-
ides {
104-
recommended()
105-
}
106-
}
107100
}
108101

109102
// Configure Gradle Changelog Plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin

0 commit comments

Comments
 (0)