chevdor/Srtool
Build WASM Runtime with SRTOOL
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| chain | Name of the chain, ie. polkadot | yes | — |
| package | Runtime package to build, ie. polkadot-runtime. If your runtime follows this pattern, you don't have and should not provide this input. If not provided, it will be set to <chain>-runtime | no | — |
| image | You can use an alternate image, use with caution! | yes | paritytech/srtool |
| tag | Tag of the srtool image to use. Omit to use the latest (recommended) | no | — |
| workdir | Path of the project, this is where your main Cargo.toml is located. This is relative to $GITHUB_WORKSPACE. | no | . |
| runtime_dir | Location of the runtime in your repo. The default is 'runtime/<chain_name>' | no | — |
| profile | Which profile to use with cargo build. | no | release |
Outputs
| name | description |
|---|---|
| json | The full json output of srtool. If you need more information than this action provides by default, you can use this json output and extract some content using 'jq'. |
| proposal_hash | The proposal hash as it will show on-chain |
| version | The version of srtool |
| info | Some information from srtool about the current project |
| ipfs | ipfs hash |
| wasm | Path of the produced compact runtime |
| wasm_compressed | Path of the produced compressed runtime |