Skip to content

Commit a445167

Browse files
Fix CI test failing (#3501)
1 parent f43eb6b commit a445167

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/cross.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,17 @@ jobs:
5959
if: github.event_name != 'pull_request'
6060
run: |
6161
./${{matrix.COSIGN_TARGET}} verify-blob --key ./.github/workflows/cosign-test.pub --signature ${{matrix.COSIGN_TARGET}}.sig ./${{matrix.COSIGN_TARGET}}
62+
- name: artifacts file name
63+
shell: bash
64+
if: github.event_name != 'pull_request'
65+
run: |
66+
name=$(echo ${{ matrix.os }} | cut -d '-' f1)
67+
echo "artifactsfilename=$name" >> $GITHUB_ENV
6268
- name: Upload artifacts
6369
if: github.event_name != 'pull_request'
6470
uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0
6571
with:
66-
name: artifacts
72+
name: artifacts-${{ env.artifactsfilename }}
6773
path: |
6874
cosign-*
6975
cosign.-*sha256

0 commit comments

Comments
 (0)