This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch 3.33.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/3.33.x by this push:
     new c7c4349041 ci: Use zstd compression when taring Maven repo
c7c4349041 is described below

commit c7c4349041d9e42255c9d13e764ea10d66fe8589
Author: James Netherton <[email protected]>
AuthorDate: Fri Jun 26 13:24:54 2026 +0100

    ci: Use zstd compression when taring Maven repo
    
    Co-authored-by: Claude Sonnet 4.6 <[email protected]>
---
 .github/actions/setup-maven-cache/action.yaml | 4 ++--
 .github/workflows/camel-master-cron.yaml      | 6 +++---
 .github/workflows/ci-build.yaml               | 6 +++---
 .github/workflows/ci-semeru-jdk.yaml          | 6 +++---
 .github/workflows/quarkus-lts-ci-build.yaml   | 6 +++---
 .github/workflows/quarkus-master-cron.yaml    | 6 +++---
 6 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/.github/actions/setup-maven-cache/action.yaml 
b/.github/actions/setup-maven-cache/action.yaml
index afd39b173f..47b3ebd29b 100644
--- a/.github/actions/setup-maven-cache/action.yaml
+++ b/.github/actions/setup-maven-cache/action.yaml
@@ -93,8 +93,8 @@ runs:
       shell: bash
       run: |
         df -h /
-        tar -xzf ../maven-repo.tgz -C ~
-        rm -f ../maven-repo.tgz
+        tar -I 'zstd -d' -xf ../maven-repo.tar.zst -C ~
+        rm -f ../maven-repo.tar.zst
         df -h /
     - name: Save Maven Cache
       if: ${{ inputs.action == 'save' }}
diff --git a/.github/workflows/camel-master-cron.yaml 
b/.github/workflows/camel-master-cron.yaml
index d072318ffe..706655e3d5 100644
--- a/.github/workflows/camel-master-cron.yaml
+++ b/.github/workflows/camel-master-cron.yaml
@@ -90,14 +90,14 @@ jobs:
       - name: Tar Maven Repo
         shell: bash
         run: |
-          tar -czf ${{ runner.temp }}/maven-repo.tgz -C ~ build-data 
.m2/repository
-          ls -lh ${{ runner.temp }}/maven-repo.tgz
+          tar -I 'zstd -T0' -cf ${{ runner.temp }}/maven-repo.tar.zst -C ~ 
build-data .m2/repository
+          ls -lh ${{ runner.temp }}/maven-repo.tar.zst
           df -h /
       - name: Persist Maven Repo
         uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f 
# v7.0.0
         with:
           name: maven-repo
-          path: ${{ runner.temp }}/maven-repo.tgz
+          path: ${{ runner.temp }}/maven-repo.tar.zst
           retention-days: 1
       - name: Save Maven Cache
         uses: ./.github/actions/setup-maven-cache
diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index fa03efd29d..209df8620a 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -216,14 +216,14 @@ jobs:
       - name: Tar Maven Repo
         shell: bash
         run: |
-          tar -czf ${{ runner.temp }}/maven-repo.tgz -C ~ .m2/repository
-          ls -lh ${{ runner.temp }}/maven-repo.tgz
+          tar -I 'zstd -T0' -cf ${{ runner.temp }}/maven-repo.tar.zst -C ~ 
.m2/repository
+          ls -lh ${{ runner.temp }}/maven-repo.tar.zst
           df -h /
       - name: Persist Maven Repo
         uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f 
# v7.0.0
         with:
           name: maven-repo
-          path: ${{ runner.temp }}/maven-repo.tgz
+          path: ${{ runner.temp }}/maven-repo.tar.zst
           retention-days: 1
       - name: Save Maven Cache
         uses: ./.github/actions/setup-maven-cache
diff --git a/.github/workflows/ci-semeru-jdk.yaml 
b/.github/workflows/ci-semeru-jdk.yaml
index 7106892e07..3f959914d3 100644
--- a/.github/workflows/ci-semeru-jdk.yaml
+++ b/.github/workflows/ci-semeru-jdk.yaml
@@ -77,14 +77,14 @@ jobs:
       - name: Tar Maven Repo
         shell: bash
         run: |
-          tar -czf ${{ runner.temp }}/maven-repo.tgz -C ~ .m2/repository
-          ls -lh ${{ runner.temp }}/maven-repo.tgz
+          tar -I 'zstd -T0' -cf ${{ runner.temp }}/maven-repo.tar.zst -C ~ 
.m2/repository
+          ls -lh ${{ runner.temp }}/maven-repo.tar.zst
           df -h /
       - name: Persist Maven Repo
         uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f 
# v7.0.0
         with:
           name: maven-repo
-          path: ${{ runner.temp }}/maven-repo.tgz
+          path: ${{ runner.temp }}/maven-repo.tar.zst
           retention-days: 1
       - name: Save Maven Cache
         uses: ./.github/actions/setup-maven-cache
diff --git a/.github/workflows/quarkus-lts-ci-build.yaml 
b/.github/workflows/quarkus-lts-ci-build.yaml
index 307ca5bb39..e9122d2069 100644
--- a/.github/workflows/quarkus-lts-ci-build.yaml
+++ b/.github/workflows/quarkus-lts-ci-build.yaml
@@ -93,14 +93,14 @@ jobs:
       - name: Tar Maven Repo
         shell: bash
         run: |
-          tar -czf ${{ runner.temp }}/maven-repo.tgz -C ~ .m2/repository
-          ls -lh ${{ runner.temp }}/maven-repo.tgz
+          tar -I 'zstd -T0' -cf ${{ runner.temp }}/maven-repo.tar.zst -C ~ 
.m2/repository
+          ls -lh ${{ runner.temp }}/maven-repo.tar.zst
           df -h /
       - name: Persist Maven Repo
         uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f 
# v7.0.0
         with:
           name: maven-repo
-          path: ${{ runner.temp }}/maven-repo.tgz
+          path: ${{ runner.temp }}/maven-repo.tar.zst
           retention-days: 1
       - name: Save Maven Cache
         uses: ./.github/actions/setup-maven-cache
diff --git a/.github/workflows/quarkus-master-cron.yaml 
b/.github/workflows/quarkus-master-cron.yaml
index c132345b97..760c5a1097 100644
--- a/.github/workflows/quarkus-master-cron.yaml
+++ b/.github/workflows/quarkus-master-cron.yaml
@@ -91,14 +91,14 @@ jobs:
       - name: Tar Maven Repo
         shell: bash
         run: |
-          tar -czf ${{ runner.temp }}/maven-repo.tgz -C ~ build-data 
.m2/repository
-          ls -lh ${{ runner.temp }}/maven-repo.tgz
+          tar -I 'zstd -T0' -cf ${{ runner.temp }}/maven-repo.tar.zst -C ~ 
build-data .m2/repository
+          ls -lh ${{ runner.temp }}/maven-repo.tar.zst
           df -h /
       - name: Persist Maven Repo
         uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f 
# v7.0.0
         with:
           name: maven-repo
-          path: ${{ runner.temp }}/maven-repo.tgz
+          path: ${{ runner.temp }}/maven-repo.tar.zst
           retention-days: 1
       - name: Save Maven Cache
         uses: ./.github/actions/setup-maven-cache

Reply via email to