chore(e2e): Name output based on scenario (#4327)

This commit is contained in:
Michael Li authored and GitHub committed 2024-02-01 10:22:19 -05:00
1 parent d500f24014
commit eb4471c9d0
1 file changed
+6 -1
+6 -1
View File
@@ -261,10 +261,15 @@ jobs:
for f in *.log; do mv -- "$f" "${f%.log}_${scenario%% *}.log"; done
fi
popd
- name: Split matrix filter name
id: split
run: |
SCENARIO=$(echo "${{ matrix.filter }}" | cut -d' ' -f1)
echo fragment="${SCENARIO}" >> "$GITHUB_OUTPUT"
- name: Upload e2e tests output
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: test-e2e-output
name: test-${{ steps.split.outputs.fragment }}
path: enos/*.log
retention-days: 5
- name: Get logs from postgres container