Skip to content

Commit 0eaa25a

Browse files
Merge pull request #19 from LedgerHQ/fbe/update_workflows
Update for workflows v4
2 parents 93cd7f1 + 43720c5 commit 0eaa25a

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/_reusable_build_with_submodule_injection.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,20 @@ jobs:
9999
100100
- name: Upload app binary
101101
if: ${{ inputs.upload_app_binaries_artifact != '' }}
102-
uses: actions/upload-artifact@v3
102+
uses: actions/upload-artifact@v4
103103
with:
104-
name: ${{ inputs.upload_app_binaries_artifact }}
104+
name: ${{ inputs.upload_app_binaries_artifact }}-${{ matrix.device }}
105105
path: ${{ steps.build.outputs.binary_path }}
106106
if-no-files-found: error
107+
108+
merge_artifacts:
109+
name: Merge build artifacts
110+
needs: build
111+
runs-on: ubuntu-latest
112+
if: ${{ inputs.upload_app_binaries_artifact != '' }}
113+
steps:
114+
- uses: actions/upload-artifact/merge@v4
115+
with:
116+
name: ${{ inputs.upload_app_binaries_artifact }}
117+
pattern: ${{ inputs.upload_app_binaries_artifact }}-*
118+
delete-merged: true

0 commit comments

Comments
 (0)