mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 11:41:04 +00:00
3521014999
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 2.28.0 to 3.1.4. - [Release notes](https://github.com/dawidd6/action-download-artifact/releases) - [Commits](https://github.com/dawidd6/action-download-artifact/compare/268677152d06ba59fcec7a7f0b5d961b6ccd7e1e...09f2f74827fd3a8607589e5ad7f9398816f540fe) --- updated-dependencies: - dependency-name: dawidd6/action-download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
41 lines
1.3 KiB
YAML
41 lines
1.3 KiB
YAML
name: Use substrate and polkadot binaries
|
|
description: Downloads and configures the substrate and polkadot binaries built with `build-nodes`
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Download substrate-node binary
|
|
id: download-substrate-binary
|
|
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe # v3.1.4
|
|
with:
|
|
workflow: build-nodes.yml
|
|
name: nightly-substrate-binary
|
|
|
|
- name: Download polkadot binary
|
|
id: download-polkadot-binary
|
|
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe # v3.1.4
|
|
with:
|
|
workflow: build-nodes.yml
|
|
name: nightly-polkadot-binary
|
|
|
|
- name: decompress polkadot binary
|
|
shell: bash
|
|
run: |
|
|
tar -xzvf ./polkadot.tar.gz
|
|
cp ./target/release/polkadot ./polkadot
|
|
|
|
- name: Prepare binaries
|
|
shell: bash
|
|
run: |
|
|
chmod u+x ./substrate-node
|
|
chmod u+x ./polkadot
|
|
chmod u+x ./polkadot-execute-worker
|
|
chmod u+x ./polkadot-prepare-worker
|
|
./substrate-node --version
|
|
./polkadot --version
|
|
mkdir -p ~/.local/bin
|
|
mv ./substrate-node ~/.local/bin
|
|
mv ./polkadot ~/.local/bin
|
|
mv ./polkadot-execute-worker ~/.local/bin
|
|
mv ./polkadot-prepare-worker ~/.local/bin
|
|
rm ./polkadot.tar.gz
|