From 066b07160c1adec16b9f9a98c47210ba770d5adb Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Tue, 28 Mar 2023 16:31:00 +0200 Subject: [PATCH] Defensive programming for unit-test result publising. Make it slightly more robust, since there have been problems with this in the past aparently (see github.com/ations/runner/1722). Manual rewrite of earlier pull-request Cura/pull/13497 Co-authored-by: 0r31 --- .github/workflows/unit-test-post.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-test-post.yml b/.github/workflows/unit-test-post.yml index 6c54ae71ea..36c1d5acfd 100644 --- a/.github/workflows/unit-test-post.yml +++ b/.github/workflows/unit-test-post.yml @@ -79,4 +79,4 @@ jobs: files: "tests/**/*.xml" - name: Conclusion - run: echo "Conclusion is ${{ fromJSON( steps.test-results.outputs.json ).conclusion }}" + run: echo "Conclusion is ${{ steps.test-results.outputs.json && fromJSON( steps.test-results.outputs.json ).conclusion }}"