Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6a79034

Browse files
authoredFeb 10, 2024
Update build.yml
1 parent b67b228 commit 6a79034

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,15 @@ jobs:
111111
arguments: test -Dtest.java.version=11
112112

113113
- name: Publish Test Report
114-
if: always()
114+
if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master'
115115
uses: mikepenz/action-junit-report@v4
116116
with:
117117
report_paths: '**/build/test-results/*/TEST-*.xml'
118118
check_name: OpenJDK 11 Test Report
119119

120120
- name: Publish Test Results
121121
uses: EnricoMi/publish-unit-test-result-action@v2
122-
if: always()
122+
if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master'
123123
with:
124124
files: |
125125
**/build/test-results/*/TEST-*.xml

0 commit comments

Comments
 (0)
Please sign in to comment.