mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-05 19:27:57 -05:00
Skip Empty Test Result Publishes and Unrelated Labels in Optional Builds (#17602)
This commit is contained in:
1 parent
9cdaaedad7
commit
5841f9652d
2 files changed
+19
-7
No files matched your search
@@ -291,7 +291,9 @@ jobs:
|
||||
path: test-results
|
||||
# Best-effort: a read-only token (e.g. fork PRs) can't write the check, so
|
||||
# don't let a publish failure fail the run. The test jobs gate correctness.
|
||||
# Skipped when every build failed: there is nothing to publish.
|
||||
- name: Publish Test Results
|
||||
if: ${{ hashFiles('test-results/**/*.xml') != '' }}
|
||||
continue-on-error: true
|
||||
uses: EnricoMi/publish-unit-test-result-action@v2
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user