Skip to content

Commit

Permalink
chore: simplify ci
Browse files Browse the repository at this point in the history
  • Loading branch information
orriin committed Jun 2, 2024
1 parent 5c84d8c commit 2e1d938
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/check-chainspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,9 @@ jobs:
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}

- name: Build chainspecs
run: |
rustup target add wasm32-unknown-unknown --toolchain nightly-2024-03-05-x86_64-unknown-linux-gnu
rustup component add rust-src --toolchain nightly-2024-03-05-x86_64-unknown-linux-gnu
./scripts/build_all_chainspecs.sh
run: ./scripts/build_all_chainspecs.sh

- uses: stefanzweifel/git-auto-commit-action@v5
name: Commit any updated chainspecs
with:
commit_message: Update chainspecs
2 changes: 1 addition & 1 deletion scripts/build_all_chainspecs.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

echo "*** Building node..."
cargo +nightly-2024-03-05 build
cargo build

echo "*** Building chainspecs..."
./target/debug/node-subtensor build-spec --raw --chain finney >raw_spec_finney.json
Expand Down

0 comments on commit 2e1d938

Please sign in to comment.