Skip to content

Commit 8f991f4

Browse files
committed
Update reusable build all rust apps workflow
1 parent 5b94289 commit 8f991f4

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
@@ -91,6 +91,11 @@ jobs:
9191
cd ${{ matrix.app-name }}
9292
build_directory=$(ledger-manifest --output-build-directory ledger_app.toml)
9393
cd $build_directory
94+
# Required as patch has a different version from what is locked in Cargo.lock
95+
cargo update include_gif
96+
cargo update ledger_secure_sdk_sys
97+
cargo update ledger_device_sdk
98+
9499
workspace_root=$(cargo metadata --no-deps --format-version 1 | jq -r '.workspace_root')
95100
cargo_toml_path="$workspace_root/Cargo.toml"
96101
@@ -132,10 +137,7 @@ jobs:
132137
cd ${{ matrix.app-name }}
133138
build_directory=$(ledger-manifest --output-build-directory ledger_app.toml)
134139
cd $build_directory
135-
# Required as patch has a different version from what is locked in Cargo.lock
136-
cargo update include_gif
137-
cargo update ledger_secure_sdk_sys
138-
cargo update ledger_device_sdk
140+
echo "Building app for ${{ matrix.device }}"
139141
device=$(echo ${{ matrix.device }} | sed 's/+/plus/')
140142
echo "Build for "$device
141143
cargo ledger build $device

0 commit comments

Comments
 (0)