diff --git a/.github/workflows/ci-actions.yml b/.github/workflows/ci-actions.yml index 9a50b9ed6ccc5..bf61a3790da8c 100644 --- a/.github/workflows/ci-actions.yml +++ b/.github/workflows/ci-actions.yml @@ -168,7 +168,7 @@ jobs: - name: Prepare failure archive (if maven failed) if: failure() shell: bash - run: find . -name '*-reports' -type d | tar -czf test-reports.tgz -T - + run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T - - name: Upload failure Archive (if maven failed) uses: actions/upload-artifact@v1 if: failure() @@ -209,7 +209,7 @@ jobs: shell: bash run: | # Disambiguate windows find from cygwin find - /usr/bin/find . -name '*-reports' -type d | tar -czf test-reports.tgz -T - + /usr/bin/find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T - - name: Upload failure Archive (if maven failed) uses: actions/upload-artifact@v1 if: failure() @@ -252,7 +252,7 @@ jobs: - name: Prepare failure archive (if maven failed) if: failure() shell: bash - run: find . -name '*-reports' -type d | tar -czf test-reports.tgz -T - + run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T - - name: Upload failure Archive (if maven failed) uses: actions/upload-artifact@v1 if: failure() @@ -290,7 +290,7 @@ jobs: - name: Prepare failure archive (if maven failed) if: failure() shell: bash - run: find . -name '*-reports' -type d | tar -czf test-reports.tgz -T - + run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T - - name: Upload failure Archive (if maven failed) uses: actions/upload-artifact@v1 if: failure() @@ -406,7 +406,7 @@ jobs: - name: Prepare failure archive (if maven failed) if: failure() shell: bash - run: find . -name '*-reports' -type d | tar -czf test-reports.tgz -T - + run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T - - name: Upload failure Archive (if maven failed) uses: actions/upload-artifact@v1 if: failure() @@ -444,7 +444,7 @@ jobs: - name: Prepare failure archive (if maven failed) if: failure() shell: bash - run: find . -name '*-reports' -type d | tar -czf test-reports.tgz -T - + run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T - - name: Upload failure Archive (if maven failed) uses: actions/upload-artifact@v1 if: failure() @@ -494,7 +494,7 @@ jobs: - name: Prepare failure archive (if maven failed) if: failure() shell: bash - run: find . -name '*-reports' -type d | tar -czf test-reports.tgz -T - + run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T - - name: Upload failure Archive (if maven failed) uses: actions/upload-artifact@v1 if: failure() @@ -564,7 +564,7 @@ jobs: - name: Prepare failure archive (if maven failed) if: failure() shell: bash - run: find . -type d -name '*-reports' -o -wholename '*/build/reports/tests/functionalTest' | tar -czf test-reports.tgz -T - + run: find . -type d -name '*-reports' -o -wholename '*/build/reports/tests/functionalTest' -o -name '*.log' | tar -czf test-reports.tgz -T - - name: Upload failure Archive (if maven failed) uses: actions/upload-artifact@v1 if: failure()