File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -52,21 +52,22 @@ jobs:
52
52
cargo update ledger_device_sdk
53
53
# if ${{matrix.device}} is 'nanosp', transform to 'nanosplus' for cargo ledger build command
54
54
if [ "${{ matrix.device }}" = "nanosp" ]; then
55
- export DEVICE="nanosplus"
55
+ DEVICE="nanosplus"
56
56
else
57
- export DEVICE="${{ matrix.device }}"
57
+ DEVICE="${{ matrix.device }}"
58
58
fi
59
59
echo "Building for device: $DEVICE"
60
60
cargo ledger build $DEVICE
61
61
ELF_NAME=$(cargo metadata --manifest-path ./Cargo.toml --no-deps --format-version 1 | jq -r '.packages[] | select(.metadata.ledger != null) | .name')
62
62
echo "ELF_NAME=$ELF_NAME" >> $GITHUB_ENV
63
63
echo "Built ELF name is $ELF_NAME"
64
+ cp target/$DEVICE/release/$ELF_NAME .
64
65
65
66
- name : Upload binary artifacts
66
67
uses : actions/upload-artifact@v4
67
68
with :
68
69
name : " app_binaries_${{ matrix.device }}"
69
- path : ${{ matrix.device }}/release/${{ env.ELF_NAME }}
70
+ path : ${{ env.ELF_NAME }}
70
71
if-no-files-found : error
71
72
72
73
# ragger_tests:
You can’t perform that action at this time.
0 commit comments