CI: Fix build-and-attach-release-runtimes.yml (#2471)

Incorporate suggestion from release team to get this workflow working.

edit: worked on this test GH release:
https://github.com/paritytech/polkadot-sdk/releases/tag/liam-debug-ghw.
let's try it.
This commit is contained in:
Liam Aharon
2023-11-28 09:42:14 +04:00
committed by GitHub
parent 838a534da8
commit db29099765
@@ -3,7 +3,7 @@ name: Build and Attach Runtimes to Releases/RC
on: on:
release: release:
types: types:
- created - published
env: env:
PROFILE: production PROFILE: production
@@ -44,12 +44,6 @@ jobs:
runtime_dir: ${{ matrix.runtime.path }} runtime_dir: ${{ matrix.runtime.path }}
profile: ${{ env.PROFILE }} profile: ${{ env.PROFILE }}
- name: Build Summary
run: |
echo "${{ steps.srtool_build.outputs.json }}" | jq . > ${{ matrix.runtime.name }}-srtool-digest.json
cat ${{ matrix.runtime.name }}-srtool-digest.json
echo "Runtime location: ${{ steps.srtool_build.outputs.wasm }}"
- name: Set up paths and runtime names - name: Set up paths and runtime names
id: setup id: setup
run: | run: |