diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-06 21:40:08 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-06 21:40:08 +0300 |
commit | 6325847c786aca78aa2f33263115c7fec08cfc86 (patch) | |
tree | 98202c784e560447fcc9b61c1c48e4dba6e7349b | |
parent | add CTest tests, add `make test`, etc. (diff) | |
download | winapi-common-6325847c786aca78aa2f33263115c7fec08cfc86.tar.gz winapi-common-6325847c786aca78aa2f33263115c7fec08cfc86.zip |
workflows/ci: error out if no files to upload
-rw-r--r-- | .github/workflows/ci.yml | 2 |
1 files changed, 2 insertions, 0 deletions
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' |