File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -56,26 +56,30 @@ jobs:
56
56
else
57
57
DEVICE="${{ matrix.device }}"
58
58
fi
59
+ echo "DEVICE=$DEVICE" >> $GITHUB_ENV
59
60
echo "Building for device: $DEVICE"
60
61
cargo ledger build $DEVICE
61
62
ELF_NAME=$(cargo metadata --manifest-path ./Cargo.toml --no-deps --format-version 1 | jq -r '.packages[] | select(.metadata.ledger != null) | .name')
62
63
echo "ELF_NAME=$ELF_NAME" >> $GITHUB_ENV
63
64
echo "Built ELF name is $ELF_NAME"
64
- cp target/$DEVICE/release/$ELF_NAME .
65
65
66
66
- name : Upload binary artifacts
67
67
uses : actions/upload-artifact@v4
68
68
with :
69
69
name : " app_elf_${{ matrix.device }}"
70
- path : ${{ env.ELF_NAME }}
70
+ path : target/ ${{ env.DEVICE }}/release/${{ env.ELF_NAME }}
71
71
if-no-files-found : error
72
72
73
73
merge_artifacts :
74
74
name : Merge build artifacts
75
75
needs : build_with_last_nightly
76
76
runs-on : ubuntu-22.04
77
77
steps :
78
- - uses : actions/upload-artifact/merge@v4
78
+ - name : Merge artifacts
79
+ uses : actions/upload-artifact/merge@v4
80
+ with :
81
+ pattern : " app_elf_*"
82
+
79
83
80
84
# ragger_tests:
81
85
# name: Run ragger tests using the reusable workflow
You can’t perform that action at this time.
0 commit comments