From 939b53886d431e709c6d8919e94903a05a9c339e Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 7 Apr 2021 04:03:50 +0300 Subject: workflows/ci: error out if no files to upload --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.github') 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") -- cgit v1.2.3