aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/actions
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-12-16 01:55:25 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-12-16 01:55:25 +0300
commitb03a183a4759c07fbe1f3defdec4291027901fc4 (patch)
tree8a70cfb552b2f44ca9a8789b6768c9d872e14a67 /.github/actions
parentsupport VS 2022 (diff)
downloadcmake-common-b03a183a4759c07fbe1f3defdec4291027901fc4.tar.gz
cmake-common-b03a183a4759c07fbe1f3defdec4291027901fc4.zip
actions/check-boost-bootstrapped: only print bootstrap.log if it's there
Diffstat (limited to '')
-rw-r--r--.github/actions/check-boost-bootstrapped/action.yml4
1 files changed, 3 insertions, 1 deletions
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 ''