Skip to content

Commit b136893

Browse files
authored
[ty] Skip compression for release archive uploads (#4800)
1 parent 69d24b8 commit b136893

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

‎.github/workflows/build-binaries.yml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
7878
with:
7979
name: wheels-sdist
80+
compression-level: 0
8081
path: dist
8182

8283
macos-x86_64:
@@ -109,6 +110,7 @@ jobs:
109110
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
110111
with:
111112
name: wheels-macos-x86_64
113+
compression-level: 0
112114
path: dist
113115
- name: "Archive binary"
114116
run: |
@@ -124,6 +126,7 @@ jobs:
124126
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
125127
with:
126128
name: artifacts-macos-x86_64
129+
compression-level: 0
127130
path: |
128131
*.tar.gz
129132
*.sha256
@@ -189,6 +192,7 @@ jobs:
189192
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
190193
with:
191194
name: wheels-aarch64-apple-darwin
195+
compression-level: 0
192196
path: dist
193197
- name: "Archive binary"
194198
run: |
@@ -204,6 +208,7 @@ jobs:
204208
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
205209
with:
206210
name: artifacts-aarch64-apple-darwin
211+
compression-level: 0
207212
path: |
208213
*.tar.gz
209214
*.sha256
@@ -297,6 +302,7 @@ jobs:
297302
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
298303
with:
299304
name: wheels-${{ matrix.platform.target }}
305+
compression-level: 0
300306
path: dist
301307
- name: "Archive binary"
302308
shell: bash
@@ -308,6 +314,7 @@ jobs:
308314
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
309315
with:
310316
name: artifacts-${{ matrix.platform.target }}
317+
compression-level: 0
311318
path: |
312319
*.zip
313320
*.sha256
@@ -381,6 +388,7 @@ jobs:
381388
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
382389
with:
383390
name: wheels-${{ matrix.target }}
391+
compression-level: 0
384392
path: dist
385393
- name: "Archive binary"
386394
shell: bash
@@ -399,6 +407,7 @@ jobs:
399407
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
400408
with:
401409
name: artifacts-${{ matrix.target }}
410+
compression-level: 0
402411
path: |
403412
*.tar.gz
404413
*.sha256
@@ -467,6 +476,7 @@ jobs:
467476
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
468477
with:
469478
name: wheels-aarch64-unknown-linux-gnu
479+
compression-level: 0
470480
path: dist
471481
- name: "Archive binary"
472482
run: |
@@ -484,6 +494,7 @@ jobs:
484494
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
485495
with:
486496
name: artifacts-aarch64-unknown-linux-gnu
497+
compression-level: 0
487498
path: |
488499
*.tar.gz
489500
*.sha256
@@ -555,6 +566,7 @@ jobs:
555566
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
556567
with:
557568
name: wheels-${{ matrix.platform.target }}
569+
compression-level: 0
558570
path: dist
559571
- name: "Archive binary"
560572
shell: bash
@@ -573,6 +585,7 @@ jobs:
573585
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
574586
with:
575587
name: artifacts-${{ matrix.platform.target }}
588+
compression-level: 0
576589
path: |
577590
*.tar.gz
578591
*.sha256
@@ -620,6 +633,7 @@ jobs:
620633
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
621634
with:
622635
name: wheels-${{ matrix.target }}
636+
compression-level: 0
623637
path: dist
624638
- name: "Archive binary"
625639
shell: bash
@@ -638,6 +652,7 @@ jobs:
638652
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
639653
with:
640654
name: artifacts-${{ matrix.target }}
655+
compression-level: 0
641656
path: |
642657
*.tar.gz
643658
*.sha256
@@ -689,6 +704,7 @@ jobs:
689704
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
690705
with:
691706
name: wheels-${{ matrix.platform.target }}
707+
compression-level: 0
692708
path: dist
693709
- name: "Archive binary"
694710
shell: bash
@@ -707,6 +723,7 @@ jobs:
707723
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
708724
with:
709725
name: artifacts-${{ matrix.platform.target }}
726+
compression-level: 0
710727
path: |
711728
*.tar.gz
712729
*.sha256

‎.github/workflows/sign-release-binaries.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ jobs:
111111
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
112112
with:
113113
name: signing-assembly-inputs-${{ github.run_id }}-${{ github.run_attempt }}
114+
compression-level: 0
114115
path: |
115116
wheels
116117
sdists
@@ -267,6 +268,7 @@ jobs:
267268
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
268269
with:
269270
name: signed-wheels-macos-${{ github.run_id }}-${{ github.run_attempt }}
271+
compression-level: 0
270272
path: signed-artifacts/wheels/macos
271273
if-no-files-found: error
272274

@@ -275,6 +277,7 @@ jobs:
275277
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
276278
with:
277279
name: signed-wheels-windows-${{ github.run_id }}-${{ github.run_attempt }}
280+
compression-level: 0
278281
path: signed-artifacts/wheels/windows
279282
if-no-files-found: error
280283

@@ -283,6 +286,7 @@ jobs:
283286
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
284287
with:
285288
name: release-pypi-${{ github.run_id }}-${{ github.run_attempt }}
289+
compression-level: 0
286290
path: pypi
287291
if-no-files-found: error
288292

@@ -291,6 +295,7 @@ jobs:
291295
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
292296
with:
293297
name: signed-github-archives-${{ github.run_id }}-${{ github.run_attempt }}
298+
compression-level: 0
294299
path: signed-artifacts/github-archives/*
295300
if-no-files-found: error
296301

0 commit comments

Comments
 (0)