From b43c88a36cb03ade7349dbca1a3a4e2ea4b32c98 Mon Sep 17 00:00:00 2001 From: Seun Lanlege Date: Tue, 31 Oct 2023 12:39:55 +0100 Subject: [PATCH] add protoc to builds --- .github/workflows/release.yml | 18 ++++++++++++++++++ parachain/node/Cargo.toml | 3 +++ 2 files changed, 21 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40bbfd7a9..302faeaf3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -99,6 +99,24 @@ jobs: - uses: swatinem/rust-cache@v2 - name: Install cargo-dist run: ${{ matrix.install_dist }} + + - uses: webfactory/ssh-agent@v0.5.4 + with: + ssh-private-key: "${{ secrets.SSH_KEY }}" + + - name: Install Protoc + uses: arduino/setup-protoc@v1 + with: + version: '3.9.1' + + - name: Install toolchain + uses: dtolnay/rust-toolchain@nightly + with: + toolchain: nightly + + - name: Add wasm toolchain + run: rustup target add wasm32-unknown-unknown + - name: Install dependencies run: | ${{ matrix.packages_install }} diff --git a/parachain/node/Cargo.toml b/parachain/node/Cargo.toml index 84072567d..2c0795d1c 100644 --- a/parachain/node/Cargo.toml +++ b/parachain/node/Cargo.toml @@ -10,6 +10,9 @@ build = "build.rs" upgrade-guid = "E148C7E5-DD8C-4069-A929-7819413D7954" path-guid = "7E49FF96-173C-489B-8BB4-3933C5A62BFE" +[package.metadata.dist] +features = ["goerli"] + [dependencies] # crates.io clap = { version = "4.0.32", features = ["derive"] }