mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-06-13 11:05:03 +00:00
ensuring Upload Test Reports is skipped if Check Test Reports Exist fails
This commit is contained in:
parent
11e81e54fe
commit
a2840982e5
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -48,6 +48,7 @@ jobs:
|
||||
DISABLE_ADDITIONAL_FEATURES: false
|
||||
|
||||
- name: Check Test Reports Exist
|
||||
id: check-reports
|
||||
if: always()
|
||||
run: |
|
||||
missing_reports=()
|
||||
@ -82,7 +83,7 @@ jobs:
|
||||
echo "All required test report directories are present"
|
||||
|
||||
- name: Upload Test Reports
|
||||
if: always()
|
||||
if: steps.check-reports.outcome == 'success'
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
with:
|
||||
name: test-reports-jdk-${{ matrix.jdk-version }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user