From c4bf136716b36415b81667027ab12818c20694b3 Mon Sep 17 00:00:00 2001 From: kkania-splunk <76955023+kkania-splunk@users.noreply.github.com> Date: Wed, 2 Feb 2022 18:48:47 +0100 Subject: [PATCH] ci: update ort & appinspect actions (#19) * fix: handling appinspect failures * fix: ort report generation Co-authored-by: Lukasz Loboda <76950960+uoboda-splunk@users.noreply.github.com> --- .github/workflows/reusable-build-test-release.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/reusable-build-test-release.yml b/.github/workflows/reusable-build-test-release.yml index 32fd3cced..86e696383 100644 --- a/.github/workflows/reusable-build-test-release.yml +++ b/.github/workflows/reusable-build-test-release.yml @@ -101,7 +101,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: ort-action - uses: splunk/addonfactory-ort-action@v1.5.9 + uses: splunk/addonfactory-ort-action@v1.5.10 id: ort-action with: WorkDir: . @@ -448,26 +448,27 @@ jobs: - "splunk_appinspect" - "manual" steps: - - name: Checkout for manual tag - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - uses: actions/download-artifact@v2 with: name: package-splunkbase path: build/package/ - name: Scan - uses: splunk/appinspect-cli-action@v1 + uses: splunk/appinspect-cli-action@v1.4 with: app_path: build/package/ included_tags: ${{ matrix.tags }} - - name: upload-appinspect-for-manual + - name: upload-appinspect-report + if: always() uses: actions/upload-artifact@v2 with: - name: appinspect_manual_checks.json + name: appinspect_${{ matrix.tags }}_checks.json path: appinspect_result.json - name: upload-manual-check-markdown + if: matrix.tags == 'manual' uses: actions/upload-artifact@v2 with: - name: ${{ matrix.tags }}_check_markdown.txt + name: check_markdown.txt path: manual_check_markdown.txt artifact-registry: