aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-07 04:03:50 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-07 04:03:50 +0300
commit939b53886d431e709c6d8919e94903a05a9c339e (patch)
tree1f06f650807cb67bfe6a2d7919ae29af965a44a0
parentworkflows/ci.yml: run the tests (diff)
downloadwindows-env-939b53886d431e709c6d8919e94903a05a9c339e.tar.gz
windows-env-939b53886d431e709c6d8919e94903a05a9c339e.zip
workflows/ci: error out if no files to upload
-rw-r--r--.github/workflows/ci.yml1
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")