Skip to content

Commit

Permalink
Update follow paritytech/srtool#68
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa authored Jul 28, 2023
1 parent 18c3b14 commit 633212f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,17 @@ runs:
shell: bash
run: |
echo ::group::Srtool build of chain ${{ inputs.chain }}
CMD="docker run -i --rm -e PACKAGE=${{ env.PACKAGE }} -e RUNTIME_DIR=${{ env.RUNTIME_DIR }} -e BUILD_OPTS -e PARACHAIN_PALLET_ID -e AUTHORIZE_UPGRADE_PREFIX -v ${{ env.WORKDIR }}:/build ${{ env.SRTOOL_IMAGE }} build --app --json -cM"
CMD="
docker run -i --rm
-e PACKAGE=${{ env.PACKAGE }}
-e RUNTIME_DIR=${{ env.RUNTIME_DIR }}
-e BUILD_OPTS
-e PARACHAIN_PALLET_ID
-e AUTHORIZE_UPGRADE_PREFIX
-e RUSTC_VERSION
-v ${{ env.WORKDIR }}:/build
${{ env.SRTOOL_IMAGE }} build --app --json -cM
"
echo ::debug::build::docker_run $CMD
# here we keep streaming the progress and fetch the last line for the json result
Expand Down

0 comments on commit 633212f

Please sign in to comment.