Skip to content

Commit 50475ac

Browse files
committed
update workflow
1 parent 86b80a1 commit 50475ac

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/build_with_current_nightly.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest
1414
strategy:
1515
matrix:
16-
device: ["nanox", "nanosplus", "stax", "flex"]
16+
device: ["nanox", "nanosplus", "stax", "flex", "apex_p"]
1717
steps:
1818
- name: install nightly toolchain
1919
run: |
@@ -26,12 +26,19 @@ jobs:
2626
uses: actions/checkout@v4
2727
with:
2828
repository: LedgerHQ/app-boilerplate-rust
29-
branch: y333/nightly_support
30-
path: app-boilerplate
29+
branch: main
30+
path: app-boilerplate-rust
31+
32+
- name: Patch Cargo.toml to use y333/nightly_support for ledger_device_sdk and include_gif crate
33+
run: |
34+
cd app-boilerplate-rust
35+
sed -i 's|ledger_device_sdk = ".*"|ledger_device_sdk = { git = "https://github.com/y333/ledger-device-sdk.git", branch = "y333/nightly_support" }|' Cargo.toml
36+
sed -i 's|include_gif = ".*"|include_gif = { git = "https://github.com/y333/include-gif.git", branch = "y333/nightly_support" }|' Cargo.toml
37+
cat Cargo.toml
3138
3239
- name: Build
3340
run: |
34-
cd app-boilerplate
41+
cd app-boilerplate-rust
3542
cargo ledger build ${{ matrix.device }}
3643
3744
#- name: Upload binary artifacts

0 commit comments

Comments
 (0)