Skip to content

Commit 77b74d4

Browse files
inoway46HoonDongKang
authored andcommitted
tools: reduce source tarball compression in CI
Use gzip level 6 in build-tarball and test-shared to reduce tarball creation time with a small increase in archive size. Refs: nodejs#66228 (comment) Assisted-by: Codex Signed-off-by: inoway46 <inoueyuya416@gmail.com> PR-URL: nodejs#66228 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
1 parent 85b6d9a commit 77b74d4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
export DISTTYPE=nightly
9595
export DATESTRING=$(date "+%Y-%m-%d")
9696
export COMMIT=$(git rev-parse --short=10 "$GITHUB_SHA")
97-
./configure && make tar -j4 SKIP_XZ=1
97+
./configure && make tar -j4 SKIP_XZ=1 GZIP_COMPRESSION=6
9898
- name: Upload tarball artifact
9999
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
100100
with:

‎.github/workflows/test-shared.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
run: |
134134
export DATESTRING=$(date "+%Y-%m-%d")
135135
export COMMIT=$(git rev-parse --short=10 "$GITHUB_SHA")
136-
./configure && make tar -j4 SKIP_XZ=1 SKIP_SHARED_DEPS=1
136+
./configure && make tar -j4 SKIP_XZ=1 SKIP_SHARED_DEPS=1 GZIP_COMPRESSION=6
137137
env:
138138
DISTTYPE: nightly
139139

0 commit comments

Comments
 (0)