From 23a401074c9b7f0d62d1da99766643a8e381d6dc Mon Sep 17 00:00:00 2001 From: Egor_P Date: Tue, 23 Apr 2024 15:00:33 +0200 Subject: [PATCH] Adjust `Manual Build - Polkadot SDK` github flow (#85) * fix manual polkadot-sdk flow so that it includes westend again * exclude some of test runtimes --- .github/workflows/manual-polkadot-sdk.yml | 2 +- scripts/lib.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/manual-polkadot-sdk.yml b/.github/workflows/manual-polkadot-sdk.yml index b8b08a6..9ffb614 100644 --- a/.github/workflows/manual-polkadot-sdk.yml +++ b/.github/workflows/manual-polkadot-sdk.yml @@ -75,7 +75,7 @@ jobs: if: ${{ steps.cache_runtimes_list.outputs.cache-hit != 'true' }} env: - EXCLUDED_RUNTIMES: "substrate-test" + EXCLUDED_RUNTIMES: "substrate-test bp cumulus-test kitchensink polkadot-test sp" run: | . ./srtool/scripts/lib.sh diff --git a/scripts/lib.sh b/scripts/lib.sh index 2d53701..6c6b302 100755 --- a/scripts/lib.sh +++ b/scripts/lib.sh @@ -40,7 +40,7 @@ function relative_parent() { # used as Github Workflow Matrix. This call is exposed by the `scan` command and can be used as: # podman run --rm -it -v /.../fellowship-runtimes:/build docker.io/chevdor/srtool:1.70.0-0.11.1 scan function find_runtimes() { - libs=($(git grep -I -r --cached --max-depth 20 --files-with-matches 'construct_runtime!' -- '*lib.rs')) + libs=($(git grep -I -r --cached --max-depth 20 --files-with-matches '[frame_support::runtime]!' -- '*lib.rs')) re=".*-runtime$" JSON=$(jq --null-input '{ "include": [] }')