From a1246fed7a4842d9039d701cdfd667392434a40a Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sun, 11 Apr 2021 02:53:53 +0200 Subject: [PATCH] Experimenting with github actions --- .github/workflows/pull_request_check.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/pull_request_check.yml b/.github/workflows/pull_request_check.yml index fa06b32..b145ed9 100644 --- a/.github/workflows/pull_request_check.yml +++ b/.github/workflows/pull_request_check.yml @@ -42,6 +42,16 @@ jobs: - name: Test variable run: echo "${{ env.VALIDATION_FAILED }}" + - name: Archive reports + uses: actions/upload-artifact@v2 + if: >- + env.VALIDATION_FAILED == 'true' + with: + name: reports + path: | + layer_report.txt + missing_licenses.txt + - name: Comment PR uses: allthatjazzleo/actions-pull-request-add-comment@master if: >-