mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 14:07:58 +00:00
8fa496b866
* new workflow and adjust node builder * fix examples by fixing artifacts script * use-nodes instead of use-substrate * update yamls * build polkadot * remove the on-push trigger again, now that polkadot built in the CI * add default implementation again
34 lines
1.1 KiB
YAML
34 lines
1.1 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@268677152d06ba59fcec7a7f0b5d961b6ccd7e1e # v2.28.0
|
|
with:
|
|
workflow: build-nodes.yml
|
|
name: nightly-substrate-binary
|
|
|
|
- name: Download polkadot binary
|
|
id: download-polkadot-binary
|
|
uses: dawidd6/action-download-artifact@268677152d06ba59fcec7a7f0b5d961b6ccd7e1e # v2.28.0
|
|
with:
|
|
workflow: build-nodes.yml
|
|
name: nightly-polkadot-binary
|
|
|
|
- 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
|
|
cp ./substrate-node ~/.local/bin
|
|
cp ./polkadot ~/.local/bin
|
|
cp ./polkadot-execute-worker ~/.local/bin
|
|
cp ./polkadot-prepare-worker ~/.local/bin
|