Skip to content

Commit c7d3c5e

Browse files
committed
chore: update github workflow
1 parent 9bf84d5 commit c7d3c5e

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,16 +135,21 @@ jobs:
135135
continue-on-error: true
136136
run: |
137137
cd intellij-client
138-
gradlew verifyPlugin -Dplugin.verifier.home.dir=~/.pluginVerifier
139-
REPORTS=$(cat ${{ github.workspace }}/intellij-client/build/reports/pluginVerifier/*/report.md | sed 's/^#/##/')
140-
echo "$REPORTS" >> $GITHUB_STEP_SUMMARY
138+
139+
finish() {
140+
REPORTS=$(cat build/reports/pluginVerifier/*/report.md | sed 's/^#/##/')
141+
echo "$REPORTS" >> $GITHUB_STEP_SUMMARY
142+
}
143+
trap finish EXIT
144+
145+
gradle verifyPlugin -Dplugin.verifier.home.dir=~/.pluginVerifier
141146
142147
- name: Collect Plugin Verifier Result
143148
if: ${{ always() }}
144149
uses: actions/upload-artifact@v4
145150
with:
146151
name: pluginVerifier-result
147-
path: ${{ github.workspace }}/intellij-client/build/reports/pluginVerifier
152+
path: ./intellij-client/build/reports/pluginVerifier
148153

149154
package:
150155
needs: [test]

0 commit comments

Comments
 (0)