]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
build.yaml: Produce .tar.xz instead of .zip
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 22 Aug 2020 18:16:38 +0000 (20:16 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 22 Aug 2020 18:30:54 +0000 (20:30 +0200)
.github/workflows/build.yaml

index 6eb654fbc65b40b92f8904bfc40613654a7f27f0..abf537a4c6fa5775fbba7d1305902e2160c7df3f 100644 (file)
@@ -40,14 +40,14 @@ jobs:
 
       - name: Collect testdir from failed tests
         if: failure()
-        run: zip -r testdir.zip ${{ matrix.config.BUILDDIR }}/testdir
+        run: tar -caf testdir.tar.xz ${{ matrix.config.BUILDDIR }}/testdir
 
       - name: Upload testdir from failed tests
         if: failure()
         uses: actions/upload-artifact@v2
         with:
-          name: ${{ matrix.config.name }} - testdir.zip
-          path: testdir.zip
+          name: ${{ matrix.config.name }} - testdir.tar.xz
+          path: testdir.tar.xz
 
   # These mimic the old Travis tests that are not replaced by standard_tests:
   specific_tests:
@@ -225,12 +225,12 @@ jobs:
 
     - name: Collect testdir from failed tests
       if: failure()
-      run: zip -r testdir.zip ${{ matrix.config.BUILDDIR }}/testdir
+      run: tar -caf testdirs.tar.xz ${{ matrix.config.BUILDDIR }}/testdir
       # TODO: in case of build-and-verify-package* the BUILDDIR is set within those scripts.
 
     - name: Upload testdir from failed tests
       if: failure()
       uses: actions/upload-artifact@v2
       with:
-        name: ${{ matrix.config.name }} - testdir.zip
-        path: testdir.zip
+        name: ${{ matrix.config.name }} - testdir.tar.xz
+        path: testdir.tar.xz