Skip to content

Commit 58e20cb

Browse files
committed
github-upload-artifact: Upgrade the deprecated version
actions/upload-artifact v3 is now deprecated and cannot be used anymore. Hence, updating to v4. `strategy.job-index` is post-fixed to the artifact name to overcome the known issue of upload-artifact v4 not allowing multiple artifacts with the same name on the workflow run. Signed-off-by: Ahmed Ismail <[email protected]>
1 parent 882608f commit 58e20cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2023-2024 Arm Limited and/or its affiliates
1+
# Copyright (c) 2023-2025 Arm Limited and/or its affiliates
22
33
# SPDX-License-Identifier: MIT
44

@@ -85,9 +85,9 @@ jobs:
8585
build/${{ matrix.application }}-update_signed.bin \
8686
build/update-signature.txt
8787
- name: Upload Build Artifacts
88-
uses: actions/upload-artifact@v3
88+
uses: actions/upload-artifact@v4
8989
with:
90-
name: FRI-build-logs
90+
name: FRI-build-logs-${{ strategy.job-index }}
9191
path: |
9292
${{ github.workspace }}/${{ matrix.application }}_gnu_build.tar.gz
9393
retention-days: 5

0 commit comments

Comments
 (0)