Skip to content

Commit d57323c

Browse files
committed
archive box name
1 parent 4c4c104 commit d57323c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ jobs:
5555
env:
5656
FOREMANCTL_BASE_BOX: ${{ matrix.box }}
5757
steps:
58+
- name: generate artifact suffix
59+
run: echo "ARTIFACT_SUFFIX=$(echo '${{ matrix.certificate_source }}-${{ matrix.box }}' | tr -cd '[:alnum:]-')" >> "${GITHUB_ENV}"
5860
- uses: actions/checkout@v5
5961
- name: Set up Python
6062
uses: actions/setup-python@v6
@@ -99,7 +101,7 @@ jobs:
99101
if: ${{ always() }}
100102
uses: actions/upload-artifact@v4
101103
with:
102-
name: sosreport-${{ matrix.certificate_source }}
104+
name: sosreport-${{ env.ARTIFACT_SUFFIX }}
103105
path: sos/
104106
- name: Setup upterm session
105107
if: ${{ failure() }}

0 commit comments

Comments
 (0)