-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bumps subwasm version add profile and build ops
- Loading branch information
1 parent
e79a724
commit af91b54
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/[email protected] | ||
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 | ||
|