Skip to content

Commit 8f5be6a

Browse files
committed
Merge branch 'public-release/v1.2.0-221' into public-release/v1.2.0-223
2 parents 20f1192 + 8225313 commit 8f5be6a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,12 @@ jobs:
102102
run: ./gradlew test
103103

104104
- name: Publish tests result to artifacts
105-
if: ${{ failure() }}
106105
uses: actions/upload-artifact@v4
107106
with:
108107
name: tests-report
109108
path: ${{ github.workspace }}/build/reports/tests
110109

111110
- name: Publish code coverage report to artifacts
112-
if: ${{ always() }}
113111
uses: actions/upload-artifact@v4
114112
with:
115113
name: code-coverage-report
@@ -153,7 +151,6 @@ jobs:
153151
run: ./gradlew runPluginVerifier -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }}
154152

155153
- name: Collect Plugin Verifier Result
156-
if: ${{ always() }}
157154
uses: actions/upload-artifact@v4
158155
with:
159156
name: plugin-verifier-report
@@ -178,6 +175,12 @@ jobs:
178175
with:
179176
gradle-home-cache-cleanup: true
180177

178+
- name: Get tests result from artifacts
179+
uses: actions/download-artifact@v4
180+
with:
181+
name: tests-report
182+
path: ${{ github.workspace }}/build/reports/tests
183+
181184
- name: SonarCloud scans
182185
uses: ./.github/actions/sonar
183186
env:

0 commit comments

Comments
 (0)