From b03a183a4759c07fbe1f3defdec4291027901fc4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 16 Dec 2021 01:55:25 +0300 Subject: actions/check-boost-bootstrapped: only print bootstrap.log if it's there --- .github/actions/check-boost-bootstrapped/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.github/actions/check-boost-bootstrapped') diff --git a/.github/actions/check-boost-bootstrapped/action.yml b/.github/actions/check-boost-bootstrapped/action.yml index 73f44a9..cd901cc 100644 --- a/.github/actions/check-boost-bootstrapped/action.yml +++ b/.github/actions/check-boost-bootstrapped/action.yml @@ -8,7 +8,9 @@ runs: echo 'bootstrap.log' echo '----------------------------------------------------------------' $path = Join-Path $env:BOOST_DIR 'bootstrap.log' - cat $path + if (Test-Path $path -Type Leaf) { + cat $path + } shell: pwsh - run: | echo '' -- cgit v1.2.3