From af91b545aa333d994a2e9d88c0586c396fb8cb42 Mon Sep 17 00:00:00 2001 From: EgorPopelyaev Date: Fri, 1 Nov 2024 11:49:26 +0100 Subject: [PATCH] Bumps subwasm version add profile and build ops --- .github/workflows/manual-polkadot-sdk.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/manual-polkadot-sdk.yml b/.github/workflows/manual-polkadot-sdk.yml index 65edc78..e08d8da 100644 --- a/.github/workflows/manual-polkadot-sdk.yml +++ b/.github/workflows/manual-polkadot-sdk.yml @@ -1,7 +1,7 @@ name: Manual Build - Polkadot SDK env: - SUBWASM_VERSION: 0.20.0 + SUBWASM_VERSION: 0.21.0 TOML_CLI_VERSION: 0.2.4 on: @@ -23,6 +23,13 @@ on: cache: description: By default, caching will be used but you can turn it off here if you provide 'false' default: true + build_opts: + description: The build options to be used to build runtime (can be left empty) + required: false + profile: + description: The profile to be used for the runtime build + default: release + required: false schedule: - cron: "00 03 * * 1" # 3AM weekly on mondays @@ -132,12 +139,15 @@ jobs: id: srtool_build if: ${{ steps.cache_runtime.outputs.cache-hit != 'true' }} uses: chevdor/srtool-actions@v0.9.2 + env: + BUILD_OPTS: ${{ inputs.build_opts }} with: workdir: sdk chain: ${{ matrix.chain }} runtime_dir: ${{ matrix.runtime_dir }} image: ${{ github.event.inputs.image }} tag: ${{ github.event.inputs.srtool_tag }} + profile: ${{ github.event.inputs.profile }} # This is done to allow caching - name: Store build artifacts to disk