Files
pezkuwi-subxt/.github/workflows/actions/use-nodes/action.yml
T
Workflow config file is invalid. Please check your config file: invalid jobs: input node is not a mapping node
Alexander Samusev 00b3149fca [ci] Use parity-large runners instead ubuntu-latest-16-cores (#1821)
* [ci] Use parity-large runners instead ubuntu-latest-16-cores

* isntall curl, move clippy, check, docs to parity-large

* install gcc, make, clang

* isntall cmake

* mv artifacts to /usr/local/bin

* sudo mv

* check build-nodes

* uncomment upload

* temporary run build-nodes on pull request to make CI green

* rm on: pr from build-nodes
2024-10-09 14:41:04 +02:00

44 lines
1.4 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: Install dependencies
shell: bash
run: sudo apt-get update && sudo apt-get install -y curl gcc make clang cmake
- name: Download substrate-node binary
id: download-substrate-binary
uses: dawidd6/action-download-artifact@bf251b5aa9c2f7eeb574a96ee720e24f801b7c11 # v6
with:
workflow: build-nodes.yml
name: nightly-substrate-binary
- name: Download polkadot binary
id: download-polkadot-binary
uses: dawidd6/action-download-artifact@bf251b5aa9c2f7eeb574a96ee720e24f801b7c11 # v6
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
sudo mv ./substrate-node /usr/local/bin
sudo mv ./polkadot /usr/local/bin
sudo mv ./polkadot-execute-worker /usr/local/bin
sudo mv ./polkadot-prepare-worker /usr/local/bin
rm ./polkadot.tar.gz