mirror of
https://github.com/google/blockly.git
synced 2026-01-08 01:20:12 +01:00
Gzip build output files in update_metadata.sh instead of update_metadata.yml.
This commit is contained in:
6
.github/workflows/update_metadata.yml
vendored
6
.github/workflows/update_metadata.yml
vendored
@@ -26,12 +26,6 @@ jobs:
|
||||
- name: Build Blockly blocks
|
||||
run: npm run build:blocks
|
||||
|
||||
- name: Gzip Blockly
|
||||
run: gzip -k build/blockly_compressed.js
|
||||
|
||||
- name: Gzip Blockly blocks
|
||||
run: gzip -k build/blocks_compressed.js
|
||||
|
||||
- name: Update Metadata
|
||||
run: source ./tests/scripts/update_metadata.sh
|
||||
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
# Determines the size of generated files and updates check_metadata.sh to
|
||||
# reflect the new values.
|
||||
|
||||
gzip -k build/blockly_compressed.js
|
||||
gzip -k build/blocks_compressed.js
|
||||
|
||||
blockly_size=$(wc -c < "build/blockly_compressed.js")
|
||||
blocks_size=$(wc -c < "build/blocks_compressed.js")
|
||||
blockly_gz_size=$(wc -c < "build/blockly_compressed.js.gz")
|
||||
|
||||
Reference in New Issue
Block a user