Skip to content

Commit f727c7d

Browse files
authored
fix artifact upload action (#39)
1 parent e058aea commit f727c7d

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ jobs:
164164
uses: actions/upload-artifact@v4
165165
if: always()
166166
with:
167-
name: test-metrics
167+
name: test-metrics-${{ matrix.service_partition.service }}-${{ matrix.service_partition.partition }}
168168
path: target/reports
169169

170170
- name: Publish ${{ matrix.service }} Test Results
@@ -173,3 +173,15 @@ jobs:
173173
with:
174174
junit_files: target/reports/*.xml
175175
check_name: ${{ matrix.service }} Terraform Test Results
176+
177+
merge_artifacts:
178+
needs: test_service
179+
if: always()
180+
runs-on: ubuntu-latest
181+
steps:
182+
- uses: actions/upload-artifact/merge@v4
183+
with:
184+
name: test-metrics
185+
pattern: test-metrics-*
186+
separate-directories: false
187+
delete-merged: true

0 commit comments

Comments
 (0)