]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
build.yaml: Correct name of directory with test results
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 22 Aug 2020 18:12:49 +0000 (20:12 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 22 Aug 2020 18:30:54 +0000 (20:30 +0200)
As of d575526c91a8e0167a249760d63510e7de67ed23 the test results are
stored in “testdir/*” instead of “testdir.*”.

.github/workflows/build.yaml

index 88c42381235b91a1bc8bef701f94e916ab38a37b..6eb654fbc65b40b92f8904bfc40613654a7f27f0 100644 (file)
@@ -38,16 +38,16 @@ jobs:
           ENABLE_CACHE_CLEANUP_TESTS: true
           CTEST_OUTPUT_ON_FAILURE: ON
 
-      - name: Collect testdirs from failed tests
+      - name: Collect testdir from failed tests
         if: failure()
-        run: zip -r testdirs.zip ${{ matrix.config.BUILDDIR }}/testdir.* -x testdir.failed
+        run: zip -r testdir.zip ${{ matrix.config.BUILDDIR }}/testdir
 
-      - name: Upload testdirs from failed tests
+      - name: Upload testdir from failed tests
         if: failure()
         uses: actions/upload-artifact@v2
         with:
-          name: ${{ matrix.config.name }} - testdirs.zip
-          path: testdirs.zip
+          name: ${{ matrix.config.name }} - testdir.zip
+          path: testdir.zip
 
   # These mimic the old Travis tests that are not replaced by standard_tests:
   specific_tests:
@@ -223,14 +223,14 @@ jobs:
       shell: bash
       run: ci/build
 
-    - name: Collect testdirs from failed tests
+    - name: Collect testdir from failed tests
       if: failure()
-      run: zip -r testdirs.zip ${{ matrix.config.BUILDDIR }}/testdir.* -x testdir.failed
+      run: zip -r testdir.zip ${{ matrix.config.BUILDDIR }}/testdir
       # TODO: in case of build-and-verify-package* the BUILDDIR is set within those scripts.
 
-    - name: Upload testdirs from failed tests
+    - name: Upload testdir from failed tests
       if: failure()
       uses: actions/upload-artifact@v2
       with:
-        name: ${{ matrix.config.name }} - testdirs.zip
-        path: testdirs.zip
+        name: ${{ matrix.config.name }} - testdir.zip
+        path: testdir.zip