Skip to content

Commit

Permalink
differences1
Browse files Browse the repository at this point in the history
  • Loading branch information
girazoki committed Oct 4, 2024
1 parent 8d5be5c commit 6c9814c
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,6 @@ jobs:
echo "LATEST_TARGET_BRANCH_BUILD=$LATEST_TARGET_BRANCH_BUILD" >> $GITHUB_OUTPUT
- name: Download latest target branch build artifacts
run: |
gh run download $LATEST_TARGET_BRANCH_BUILD -n uncompressed-runtimes --dir uncompressed-runtimes-target-branch
gh run download $LATEST_TARGET_BRANCH_BUILD -n runtimes --dir runtimes-target-branch
- name: Check Runtimes size for target branch
run: |
Expand All @@ -329,11 +328,6 @@ jobs:
with:
name: runtimes
path: runtimes-current-branch
- name: "Download branch built uncompressed-runtimes"
uses: actions/download-artifact@v4
with:
name: uncompressed-runtimes
path: uncompressed-runtimes-current-branch
- name: Check Runtimes size for current branch
run: |
CURRENT_DANCEBOX=$(du -k runtimes-current-branch/* | awk '/dancebox_runtime/ {print $1}')
Expand All @@ -355,10 +349,11 @@ jobs:
# Generate Twiggy diff reports in JSON format with top 100 entries
mkdir -p twiggy-diff-reports
twiggy diff -n 100 --format json uncompressed-runtimes-target-branch/dancebox_runtime.wasm uncompressed-runtimes-current-branch/dancebox_runtime.wasm > twiggy-diff-reports/twiggy_diff_dancebox.json
twiggy diff -n 100 --format json uncompressed-runtimes-target-branch/flashbox_runtime.wasm uncompressed-runtimes-current-branch/flashbox_runtime.wasm > twiggy-diff-reports/twiggy_diff_flashbox.json
twiggy diff -n 100 --format json uncompressed-runtimes-target-branch/container_chain_template_simple_runtime.wasm uncompressed-runtimes-current-branch/container_chain_template_simple_runtime.wasm > twiggy-diff-reports/twiggy_diff_container_chain_template_simple.json
twiggy diff -n 100 --format json uncompressed-runtimes-target-branch/container_chain_template_frontier_runtime.wasm uncompressed-runtimes-current-branch/container_chain_template_frontier_runtime.wasm > twiggy-diff-reports/twiggy_diff_container_chain_template_frontier.json
twiggy diff -n 100 --format json runtimes-target-branch/dancebox_runtime.wasm runtimes-current-branch/dancebox_runtime.wasm > twiggy-diff-reports/twiggy_diff_dancebox.json
twiggy diff -n 100 --format json runtimes-target-branch/flashbox_runtime.wasm runtimes-current-branch/flashbox_runtime.wasm > twiggy-diff-reports/twiggy_diff_flashbox.json
twiggy diff -n 100 --format json runtimes-target-branch/dancelight_runtime.wasm runtimes-current-branch/dancelight_runtime.wasm > twiggy-diff-reports/twiggy_diff_dancelight.json
twiggy diff -n 100 --format json runtimes-target-branch/container_chain_template_simple_runtime.wasm runtimes-current-branch/container_chain_template_simple_runtime.wasm > twiggy-diff-reports/twiggy_diff_container_chain_template_simple.json
twiggy diff -n 100 --format json runtimes-target-branch/container_chain_template_frontier_runtime.wasm runtimes-current-branch/container_chain_template_frontier_runtime.wasm > twiggy-diff-reports/twiggy_diff_container_chain_template_frontier.json
- name: Upload Twiggy diff reports
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 6c9814c

Please sign in to comment.