Merge pull request #109 from jepler/compress-our-zip-pls
Compress our zips
This commit is contained in:
commit
c6ebe5e77d
3 changed files with 7 additions and 1 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
|
@ -24,6 +24,9 @@ jobs:
|
|||
python3 --version
|
||||
- name: Checkout Current Repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
filter: 'blob:none'
|
||||
depth: 0
|
||||
- name: Install requirements
|
||||
run: |
|
||||
sudo apt-get update
|
||||
|
|
|
|||
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
|
@ -14,6 +14,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
filter: 'blob:none'
|
||||
depth: 0
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ def build_bundle(libs, bundle_version, output_filename, package_folder_prefix,
|
|||
print()
|
||||
print("Zipping")
|
||||
|
||||
with zipfile.ZipFile(output_filename, 'w') as bundle:
|
||||
with zipfile.ZipFile(output_filename, 'w', compression=zipfile.ZIP_DEFLATED) as bundle:
|
||||
build_metadata = {"build-tools-version": build_tools_version}
|
||||
bundle.comment = json.dumps(build_metadata).encode("utf-8")
|
||||
if multiple_libs:
|
||||
|
|
|
|||
Loading…
Reference in a new issue