Skip to content

Commit

Permalink
ci: fix srtool fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
wischli committed Jul 5, 2024
1 parent 595b275 commit e4780e7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,9 @@ jobs:
# BUILD
- name: Run srtool # https://docs.substrate.io/reference/command-line-tools/srtool/
run: >
docker run --rm --user root --platform=linux/amd64 \
-e PACKAGE=${{ matrix.package }} \
-e BUILD_OPTS="on-chain-release-build" \
-v /home/runner/.cargo:/cargo-home \
-v ${{ github.workspace }}:/build \
paritytech/srtool:1.77.0-0.15.0 \
/srtool/build --app
docker run --rm --user root --platform=linux/amd64
-e PACKAGE=${{ matrix.package }} -e BUILD_OPTS="on-chain-release-build" -v /home/runner/.cargo:/cargo-home
-v ${{ github.workspace }}:/build paritytech/srtool:1.77.0-0.15.0
# Alternative way of running SRTool that allows for "script-like" execution,
# extremely useful to debug:
Expand Down

0 comments on commit e4780e7

Please sign in to comment.