From 6325847c786aca78aa2f33263115c7fec08cfc86 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 6 Apr 2021 21:40:08 +0300 Subject: workflows/ci: error out if no files to upload --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd05ccd..e16116a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,6 +67,7 @@ jobs: with: name: 'winapi-common-${{ matrix.os }}-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}' path: '${{ runner.workspace }}/build/install/' + if-no-files-found: error - name: Test run: make test if: runner.os == 'Windows' @@ -77,4 +78,5 @@ jobs: path: | ${{ runner.workspace }}/build/**/*_tests.log ${{ runner.workspace }}/build/**/*_report.txt + if-no-files-found: error if: always() && runner.os == 'Windows' -- cgit v1.2.3