Skip to content

Commit 4672584

Browse files
committed
Update workflow
1 parent 7a57c6a commit 4672584

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build_with_current_nightly.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@ jobs:
1515
matrix:
1616
device: ["nanox", "nanosplus", "stax", "flex"]
1717
steps:
18-
- name: update nightly toolchain
18+
- name: install nightly toolchain
1919
run: |
20-
rustup update nightly
20+
rustup toolchain install nightly
2121
rustup component add rust-src --toolchain nightly
22-
cargo +nightly ledger setup
22+
export RUST_NIGHTLY=nightly
23+
cargo ledger setup
2324
2425
- name: Checkout Code
2526
uses: actions/checkout@v4
2627
with:
2728
repository: LedgerHQ/app-boilerplate-rust
29+
branch: y333/nightly_support
2830
path: app-boilerplate
2931

3032
- name: Build
3133
run: |
32-
BUILD_DEVICE_NAME="$(echo ${{ matrix.device }})"
33-
BIN_DIR_NAME="$(echo ${{ matrix.device }} | sed 's/nanosplus/nanos2/')"
3434
cd app-boilerplate
3535
cargo ledger build ${{ matrix.device }}
3636

0 commit comments

Comments
 (0)