From ab82120f5034941caba5094e45bc62168ea75e95 Mon Sep 17 00:00:00 2001 From: Anton Oellerer Date: Mon, 4 Oct 2021 12:10:40 +0200 Subject: [PATCH] Archive action results In this commit, an archive action is added to qualifying github runs so that their results are accessible after execution. --- .github/workflows/push.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index ab9c5eb6..fb004d87 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -26,6 +26,12 @@ jobs: uses: gradle/gradle-build-action@v2 with: arguments: checkMain checkTest + - name: Archive checkstyle results + uses: actions/upload-artifact@v2 + if: always() + with: + name: checkstyle-results + path: build/reports/checkstyle.html owasp: name: owasp runs-on: ubuntu-20.04 @@ -41,6 +47,12 @@ jobs: uses: gradle/gradle-build-action@v2 with: arguments: dependencyCheckAnalyze + - name: Archive owasp check results + uses: actions/upload-artifact@v2 + if: always() + with: + name: owasp-results + path: build/reports/dependency-check-report.html sonarqube: name: sonarqube runs-on: ubuntu-20.04 @@ -84,4 +96,10 @@ jobs: uses: EnricoMi/publish-unit-test-result-action@v1.22 with: report_individual_runs: true - files: build/test-results/automatedTests/*.xml \ No newline at end of file + files: build/test-results/automatedTests/*.xml + - name: Archive test results + uses: actions/upload-artifact@v2 + if: always() + with: + name: test-results + path: build/reports/tests/automatedTests \ No newline at end of file