Skip to content

Commit

Permalink
Inspecting srtool
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga committed Dec 7, 2023
1 parent 93ace41 commit 7d1b323
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build-wasm.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
on:
push:
branches:
- publish-to-release
tags:
- '*'
pull_request:
Expand Down Expand Up @@ -48,7 +50,7 @@ jobs:
docker run --rm --user root --platform=linux/amd64
-e PACKAGE=${{ matrix.package }} -v /home/runner/.cargo:/cargo-home
-v ${{ github.workspace }}:/build paritytech/srtool:1.73.0-0.12.0
/srtool/build --app
/srtool/build --app --save
# Alternative way of running SRTool that allows for "script-like" execution,
# extremely useful to debug:
Expand All @@ -67,6 +69,11 @@ jobs:
# du -sh /cargo-home/*
# echo "---- RUNNING BUILD ----"
# /srtool/build --save

- name: List files in workspace
run: |
echo "---- Listing Workspace Files ----"
find /runtime/${runtime_name}/target/ -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'
- name: Upload srtool report
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 #v3.1.3
Expand Down

0 comments on commit 7d1b323

Please sign in to comment.