Skip to content

Commit

Permalink
Upload srtool report from wasm build
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga committed Sep 16, 2023
1 parent 06ec8e1 commit 0271fdb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,15 @@ jobs:
ls -la /cargo-home/
du -sh /cargo-home/*
echo "---- RUNNING BUILD ----"
srtool/build --save
/srtool/build --save
- id: set_runtime
run: echo "RUNTIME=$(echo "${{ matrix.package }}" | sed -e "s/-runtime$//")" >> $GITHUB_ENV
- name: upload srtool report
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 #v3.1.3
with:
name: srtool-wasm-report.txt
path: ./runtime/${{ env.RUNTIME }}/target/srtool/srtool-wasm-report-*.txt

- id: 'auth'
# if: ${{ github.ref == 'refs/heads/main' }}
Expand Down

0 comments on commit 0271fdb

Please sign in to comment.