@@ -63,28 +63,22 @@ For example:
6363 …
6464 …
6565 steps :
66- - uses : actions/checkout@v3
66+ - uses : actions/checkout@v5
6767
6868 - name : Create a directory for the artifacts
6969 run : mkdir test-artifacts
7070
7171 - name : Download all artifacts to the directory
72- uses : actions/download-artifact@v3
72+ uses : actions/download-artifact@v6
7373 with :
7474 path : test-artifacts
75-
76- - name : Flatten all artifacts onto directory
77- # The download-artifact action, since we did not give it a name,
78- # downloads all artifacts and creates a new folder for each.
79- # In this step we bring all the JSONs to a single folder
80- run : |
81- mkdir test-artifacts/data
82- mv test-artifacts/*/*.json test-artifacts/data
75+ pattern : testartifacts-*
76+ merge-multiple : true
8377
8478 - name : Compute the E2E test summary
8579 uses : cloudnative-pg/ciclops@main
8680 with :
87- artifact_directory : test-artifacts/data
81+ artifact_directory : test-artifacts
8882` ` `
8983
9084## Advanced Usage
@@ -130,7 +124,7 @@ The following snippet shows how to use these features:
130124 id: generate-summary
131125 uses: cloudnative-pg/ciclops@main
132126 with:
133- artifact_directory: test-artifacts/data
127+ artifact_directory: test-artifacts
134128
135129 - name: If there is an overflow summary, archive it
136130 if: ${{steps.generate-summary.outputs.Overflow}}
0 commit comments