From 32f43b7b82bac214f6796243852ec086baad631e Mon Sep 17 00:00:00 2001 From: Melanie Date: Thu, 23 Nov 2023 16:20:53 +0100 Subject: [PATCH] use if-no-files-found:error --- .github/workflows/main.yml | 2 ++ README.md | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f4d8e4e..dbcf6ea 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,9 +21,11 @@ jobs: with: name: jmeter-results path: result.jtl + if-no-files-found: error - name: Upload HTML Reports uses: actions/upload-artifact@v3 with: name: jmeter-reports path: reports + if-no-files-found: error diff --git a/README.md b/README.md index c09fc55..d1fcad0 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ Following are the prerequisites for this GitHub Action: with: name: jmeter-results path: result.jtl + if-no-files-found: error ``` ### Example #2 with arguments @@ -59,6 +60,7 @@ Following are the prerequisites for this GitHub Action: with: name: jmeter-results path: result.jtl + if-no-files-found: error ``` ### Example #3 with arguments to Generate HTML Reports @@ -79,12 +81,14 @@ Please make sure that you create a directory where you want to generate HTML rep with: name: jmeter-results path: result.jtl + if-no-files-found: error - name: Upload HTML Reports uses: actions/upload-artifact@v3 with: name: jmeter-html-reports path: reports + if-no-files-found: error ``` ## 📥 Download JMeter Test Results