Skip to content

Commit d92625f

Browse files
Merge pull request #18 from CorruptedAesthetic/staging-preset-implementation
Fix chain-spec-builder installation: Use Rust nightly for edition 202…
2 parents bd11465 + b8ba0d8 commit d92625f

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,16 @@ jobs:
8181
# ------------------------------------------------------------
8282
# Generate chain specifications using chain-spec-builder
8383
# ------------------------------------------------------------
84+
- name: Install Rust nightly
85+
run: |
86+
rustup toolchain install nightly
87+
rustup default nightly
88+
rustup target add wasm32-unknown-unknown --toolchain nightly
89+
echo "✅ Installed Rust nightly"
90+
8491
- name: Install chain-spec-builder
8592
run: |
86-
cargo install --git https://github.com/paritytech/polkadot-sdk --force staging-chain-spec-builder
93+
cargo +nightly install --git https://github.com/paritytech/polkadot-sdk --force staging-chain-spec-builder
8794
echo "✅ Installed chain-spec-builder"
8895
8996
- name: Create development chain spec

0 commit comments

Comments
 (0)