Skip to content

Commit 40a7304

Browse files
Merge pull request #19 from CorruptedAesthetic/staging-preset-implementation
Add Rust toolchain setup to workflow
2 parents d92625f + 8bdf963 commit 40a7304

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/publish.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,17 @@ 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"
84+
- name: Install Rust toolchain
85+
uses: actions-rs/toolchain@v1
86+
with:
87+
toolchain: stable
88+
target: wasm32-unknown-unknown
89+
profile: minimal
90+
override: true
9091

9192
- name: Install chain-spec-builder
9293
run: |
93-
cargo +nightly install --git https://github.com/paritytech/polkadot-sdk --force staging-chain-spec-builder
94+
cargo install staging-chain-spec-builder --locked
9495
echo "✅ Installed chain-spec-builder"
9596
9697
- name: Create development chain spec

0 commit comments

Comments
 (0)