Skip to content

Commit 5d37df6

Browse files
committed
chore: update github workflow
1 parent 235b5e0 commit 5d37df6

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/build-test-package-publish.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -128,24 +128,25 @@ jobs:
128128
with:
129129
cache-cleanup: always
130130

131-
# Set environment variables
132-
- name: Export Properties
133-
id: properties
134-
shell: bash
135-
run: |
136-
echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT
137-
138131
- run: hatch run lint:style
139132
if: always()
140133

141134
- run: hatch run lint:typing
142135
if: always()
143136

144-
- run: |
137+
- name: Run Plugin Verification tasks
138+
run: |
145139
cd intellij-client
146-
gradle verifyPlugin --console=plain
140+
./gradlew verifyPlugin -Dplugin.verifier.home.dir=~/.pluginVerifier
141+
REPORTS=$(cat ${{ github.workspace }}/build/reports/pluginVerifier/*/report.md | sed 's/^#/##/')
142+
echo "$REPORTS" >> $GITHUB_STEP_SUMMARY
147143
148-
if: always()
144+
- name: Collect Plugin Verifier Result
145+
if: ${{ always() }}
146+
uses: actions/upload-artifact@v4
147+
with:
148+
name: pluginVerifier-result
149+
path: ${{ github.workspace }}/build/reports/pluginVerifier
149150

150151
package:
151152
needs: [test]

0 commit comments

Comments
 (0)