Skip to content

Commit a8cfc0c

Browse files
committed
fix paths
1 parent 069ede3 commit a8cfc0c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build_with_current_nightly.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,17 @@ jobs:
3636
uses: actions/checkout@v4
3737
with:
3838
repository: LedgerHQ/app-boilerplate-rust
39-
path: app
4039

4140
- name: Patch Cargo.toml to use y333/nightly_support for ledger_device_sdk and include_gif crate
4241
run: |
43-
cd app/${{ needs.call_get_app_metadata.outputs.build_directory }}
42+
cd ${{ needs.call_get_app_metadata.outputs.build_directory }}
4443
sed -i 's|ledger_device_sdk = ".*"|ledger_device_sdk = { git = "https://github.com/LedgerHQ/ledger-device-rust-sdk.git", branch = "y333/nightly_support" }|' Cargo.toml
4544
sed -i 's|include_gif = ".*"|include_gif = { git = "https://github.com/LedgerHQ/ledger-device-rust-sdk.git", branch = "y333/nightly_support" }|' Cargo.toml
4645
echo "Display patched Cargo.toml:"
4746
cat Cargo.toml
4847
4948
- name: Build
5049
run: |
51-
cd app/${{ needs.call_get_app_metadata.outputs.build_directory }}
5250
cargo update include_gif
5351
cargo update ledger_secure_sdk_sys
5452
cargo update ledger_device_sdk
@@ -68,7 +66,7 @@ jobs:
6866
uses: actions/upload-artifact@v4
6967
with:
7068
name: "app_binaries_${{ matrix.device }}"
71-
path: app/${{ needs.call_get_app_metadata.outputs.build_directory }}/${{ matrix.device }}/release/${{ env.ELF_NAME }}
69+
path: ${{ matrix.device }}/release/${{ env.ELF_NAME }}
7270
if-no-files-found: error
7371

7472
#ragger_tests:

0 commit comments

Comments
 (0)