diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-07 04:03:50 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-07 04:03:50 +0300 |
commit | 939b53886d431e709c6d8919e94903a05a9c339e (patch) | |
tree | 1f06f650807cb67bfe6a2d7919ae29af965a44a0 | |
parent | workflows/ci.yml: run the tests (diff) | |
download | windows-env-939b53886d431e709c6d8919e94903a05a9c339e.tar.gz windows-env-939b53886d431e709c6d8919e94903a05a9c339e.zip |
workflows/ci: error out if no files to upload
-rw-r--r-- | .github/workflows/ci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 000e229..10bafa4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,7 @@ jobs: with: name: 'windows-env-${{ matrix.platform }}' path: '${{ runner.workspace }}/install/' + if-no-files-found: error - name: Run the tests run: | $((Get-ItemProperty $env:global_env).PATH.Split(';') | Select-String -Pattern '^C:\\dumb$' -Quiet) -and $(throw "Global PATH shouldn't contain C:\dumb") |