From 18e1207070cafe47b8afa54df26eb597904b9da4 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Fri, 8 Oct 2021 12:30:24 +0200 Subject: [PATCH] New build design --- .github/workflows/images_build_windows.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/images_build_windows.yml b/.github/workflows/images_build_windows.yml index e273f85e8..8e7deee3a 100644 --- a/.github/workflows/images_build_windows.yml +++ b/.github/workflows/images_build_windows.yml @@ -38,10 +38,9 @@ jobs: - name: Check build.json file id: build_exists run: | - if [[ ! -f "./build.json" ]]; then - echo "::error::File build.json is missing" - exit 1 - fi + if (-not(Test-Path -Path $ConfigPath -PathType Leaf)) { + throw "::error::File build.json is missing" + } - name: Prepare Operating System list id: os