mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 18:37:59 +00:00
07a9522bfb
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.7.1 to 2.7.3. - [Release notes](https://github.com/swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md) - [Commits](https://github.com/swatinem/rust-cache/compare/3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8...23bce251a8cd2ffc3c1075eaa2367cf899916d84) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
name: Build Substrate Binary
|
|
|
|
on:
|
|
# Allow it to be manually ran to rebuild binary when needed:
|
|
workflow_dispatch: {}
|
|
# Run at 2am every day for nightly builds.
|
|
schedule:
|
|
- cron: "0 2 * * *"
|
|
|
|
jobs:
|
|
tests:
|
|
name: Build Substrate
|
|
runs-on: ubuntu-latest-16-cores
|
|
steps:
|
|
- name: checkout polkadot-sdk
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: paritytech/polkadot-sdk
|
|
|
|
- name: Install dependencies
|
|
run: sudo apt-get install -y protobuf-compiler
|
|
|
|
- name: Install WASM toolchain
|
|
run: rustup target add wasm32-unknown-unknown
|
|
|
|
- name: Install WASM toolchain
|
|
run: rustup component add rust-src
|
|
|
|
- name: Rust Cache
|
|
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
|
|
|
|
- name: build substrate binary
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: build
|
|
args: --release --manifest-path substrate/bin/node/cli/Cargo.toml
|
|
|
|
- name: upload substrate binary
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: nightly-substrate-binary
|
|
path: target/release/substrate-node
|
|
retention-days: 2
|
|
if-no-files-found: error |