Skip to content

Commit 7948d40

Browse files
committed
fix action
1 parent 90b2420 commit 7948d40

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

.github/workflows/update-chainspec.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,40 +26,27 @@ jobs:
2626

2727
strategy:
2828
matrix:
29-
rust-branch:
30-
- nightly-2024-03-05
3129
rust-target:
3230
- x86_64-unknown-linux-gnu
3331
os:
3432
- ubuntu-latest
3533
include:
3634
- os: ubuntu-latest
3735
env:
38-
RELEASE_NAME: development
39-
RUSTV: ${{ matrix.rust-branch }}
4036
RUST_BACKTRACE: full
41-
RUST_BIN_DIR: target/${{ matrix.rust-target }}
42-
TARGET: ${{ matrix.rust-target }}
4337
steps:
4438
- name: Check-out repository under $GITHUB_WORKSPACE
45-
uses: actions/checkout@v2
39+
uses: actions/checkout@v4
4640

4741
- name: Install dependencies
4842
run: |
4943
sudo apt-get update &&
5044
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
5145
52-
- name: Install Rust ${{ matrix.rust-branch }}
53-
uses: actions-rs/[email protected]
54-
with:
55-
toolchain: ${{ matrix.rust-branch }}
56-
components: rustfmt, clippy
57-
profile: minimal
58-
5946
- name: Utilize Shared Rust Cache
6047
uses: Swatinem/[email protected]
6148
with:
62-
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
49+
key: ubuntu-latest-target/x86_64-unknown-linux-gnu
6350

6451
- name: Build chainspecs
6552
run: ./scripts/build_all_chainspecs.sh

0 commit comments

Comments
 (0)