Skip to content

Commit 5dc5c59

Browse files
committed
Update reusable build all rust apps workflow
1 parent 406c8d5 commit 5dc5c59

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/reusable_build_all_apps.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ jobs:
9393
cd ${{ matrix.app-name }}
9494
build_directory=$(ledger-manifest --output-build-directory ledger_app.toml)
9595
cd $build_directory
96+
# Required as patch has a different version from what is locked in Cargo.lock
97+
cargo update include_gif
98+
cargo update ledger_secure_sdk_sys
99+
cargo update ledger_device_sdk
100+
96101
workspace_root=$(cargo metadata --no-deps --format-version 1 | jq -r '.workspace_root')
97102
cargo_toml_path="$workspace_root/Cargo.toml"
98103
@@ -134,10 +139,7 @@ jobs:
134139
cd ${{ matrix.app-name }}
135140
build_directory=$(ledger-manifest --output-build-directory ledger_app.toml)
136141
cd $build_directory
137-
# Use last published versions of the Rust SDK
138-
cargo update include_gif
139-
cargo update ledger_secure_sdk_sys
140-
cargo update ledger_device_sdk
142+
echo "Building app for ${{ matrix.device }}"
141143
device=$(echo ${{ matrix.device }} | sed 's/+/plus/')
142144
echo "Build for "$device
143145
cargo ledger build $device

0 commit comments

Comments
 (0)