Use pattern to reduce the number of downloaded artifacts.

This commit is contained in:
Patrick Lehmann
2024-12-07 19:11:33 +01:00
parent c34d4e240e
commit f084e02f01
10 changed files with 39 additions and 11 deletions

View File

@@ -30,6 +30,10 @@ on:
required: false
default: '24.04'
type: string
unittest_artifacts_pattern:
required: false
default: '*-UnitTestReportSummary-*'
type: string
merged_junit_artifact:
description: 'Name of the merged JUnit Test Summary artifact.'
required: false
@@ -64,8 +68,13 @@ jobs:
- name: Download Artifacts
uses: pyTooling/download-artifact@v4
with:
pattern: ${{ inputs.unittest_artifacts_pattern }}
path: artifacts
- name: 🔎 Inspect extracted artifact (tarball)
run: |
tree -psh artifacts
- name: 🔧 Install pyEDAA.Reports (JUunit Parser and Merger)
run: |
python -m pip install --disable-pip-version-check --break-system-packages -U pyEDAA.Reports