From 746cc81f298a7a3d112e71fa2ef0243dc052f28e Mon Sep 17 00:00:00 2001 From: Matt Witherspoon <32485495+spoonincode@users.noreply.github.com> Date: Thu, 22 Sep 2022 14:46:28 -0400 Subject: [PATCH] tar --ignore-failed-read on uploaded failure logs --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4c387c50d2..167ac1e85d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -150,7 +150,7 @@ jobs: ctest --output-on-failure -L "nonparallelizable_tests" - name: Bundle logs from failed tests if: failure() - run: tar -czf ${{matrix.platform}}-serial-logs.tar.gz build/var build/etc build/leap-ignition-wd + run: tar --ignore-failed-read -czf ${{matrix.platform}}-serial-logs.tar.gz build/var build/etc build/leap-ignition-wd - name: Upload logs from failed tests uses: actions/upload-artifact@v3 if: failure() @@ -183,7 +183,7 @@ jobs: ctest --output-on-failure -R ${{matrix.test-name}} - name: Bundle logs from failed tests if: failure() - run: tar -czf ${{matrix.platform}}-${{matrix.test-name}}-logs.tar.gz build/var build/etc build/leap-ignition-wd + run: tar --ignore-failed-read -czf ${{matrix.platform}}-${{matrix.test-name}}-logs.tar.gz build/var build/etc build/leap-ignition-wd - name: Upload logs from failed tests uses: actions/upload-artifact@v3 if: failure()