Skip to content

Commit 727b20a

Browse files
committed
remove verifier step
1 parent ffc58a3 commit 727b20a

File tree

1 file changed

+0
-85
lines changed

1 file changed

+0
-85
lines changed

.github/workflows/build.yml

-85
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ jobs:
8484
version: ${{ steps.properties.outputs.version }}
8585
artifact: ${{ steps.properties.outputs.pluginName }}-${{ steps.properties.outputs.version }}.zip
8686
changelog: ${{ steps.properties.outputs.changelog }}
87-
pluginVerifierHomeDir: ${{ steps.properties.outputs.pluginVerifierHomeDir }}
8887
steps:
8988

9089
# Check out current repository
@@ -114,15 +113,12 @@ jobs:
114113
echo "::set-output name=version::$(./gradlew properties --console=plain -q | grep "^version:" | cut -f2- -d ' ')"
115114
echo "::set-output name=name::$(./gradlew properties --console=plain -q | grep "^name:" | cut -f2- -d ' ')"
116115
echo "::set-output name=pluginName::$(./gradlew properties --console=plain -q | grep "^pluginName:" | cut -f2- -d ' ')"
117-
echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT
118116
119117
CHANGELOG=$(./gradlew getChangelog --unreleased --no-header --console=plain -q)
120118
CHANGELOG="${CHANGELOG//'%'/'%25'}"
121119
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
122120
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
123121
echo "::set-output name=changelog::$CHANGELOG"
124-
125-
./gradlew listProductsReleases # prepare list of IDEs for Plugin Verifier
126122
127123
# Build artifact using buildPlugin Gradle task
128124
- name: Build Plugin
@@ -135,87 +131,6 @@ jobs:
135131
name: plugin-artifact
136132
path: ./build/distributions/${{ needs.build.outputs.artifact }}
137133

138-
# Run plugin structure verification along with IntelliJ Plugin Verifier
139-
verify2:
140-
name: Verify plugin 2
141-
needs: build
142-
runs-on: ubuntu-latest
143-
steps:
144-
145-
# Check out current repository
146-
- name: Fetch Sources
147-
uses: actions/checkout@v4
148-
149-
# Set up Java environment for the next steps
150-
- name: Setup Java
151-
uses: actions/setup-java@v4
152-
with:
153-
distribution: 'zulu'
154-
java-version: '17'
155-
156-
# Setup Gradle
157-
- name: Setup Gradle
158-
uses: gradle/actions/setup-gradle@v3
159-
with:
160-
gradle-home-cache-cleanup: true
161-
162-
# Cache Plugin Verifier IDEs
163-
- name: Setup Plugin Verifier IDEs Cache
164-
uses: actions/cache@v4
165-
with:
166-
path: ${{ needs.build.outputs.pluginVerifierHomeDir }}/ides
167-
key: plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }}
168-
169-
# Run Verify Plugin task and IntelliJ Plugin Verifier tool
170-
- name: Run Plugin Verification tasks
171-
run: ./gradlew runPluginVerifier -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }}
172-
173-
# Collect Plugin Verifier Result
174-
- name: Collect Plugin Verifier Result
175-
if: ${{ always() }}
176-
uses: actions/upload-artifact@v4
177-
with:
178-
name: pluginVerifier-result
179-
path: ${{ github.workspace }}/build/reports/pluginVerifier
180-
181-
# Verify built plugin using IntelliJ Plugin Verifier tool
182-
# Requires build job to be passed
183-
verify:
184-
name: Verify
185-
needs: build
186-
runs-on: ubuntu-latest
187-
steps:
188-
189-
# Download plugin artifact provided by the previous job
190-
- name: Download Artifact
191-
uses: actions/download-artifact@v4
192-
with:
193-
name: plugin-artifact
194-
path: $GITHUB_WORKSPACE
195-
196-
- name: Display structure of downloaded files
197-
run: pwd && echo ${{ github.workspace }} && echo $GITHUB_WORKSPACE && ls -R
198-
199-
# Run IntelliJ Plugin Verifier action using GitHub Action
200-
- name: Verify Plugin
201-
id: verify
202-
uses: ChrisCarini/intellij-platform-plugin-verifier-action@latest
203-
env:
204-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
205-
with:
206-
plugin-location: '${{ needs.build.outputs.artifact }}'
207-
ide-versions: |
208-
ideaIC:2022.3
209-
ideaIC:LATEST-EAP-SNAPSHOT
210-
211-
# Print the output of the verify step
212-
- name: Print Logs
213-
env:
214-
OUTPUT_LOG: ${{ steps.verify.outputs.verification-output-log-filename }}
215-
run: |
216-
echo "The verifier log file [$OUTPUT_LOG] contents : " ;
217-
cat $OUTPUT_LOG
218-
219134
# Prepare a draft release for GitHub Releases page for the manual verification
220135
# If accepted and published, release workflow would be triggered
221136
releaseDraft:

0 commit comments

Comments
 (0)