diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-12-16 01:55:25 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-12-16 01:55:25 +0300 |
commit | b03a183a4759c07fbe1f3defdec4291027901fc4 (patch) | |
tree | 8a70cfb552b2f44ca9a8789b6768c9d872e14a67 /.github | |
parent | support VS 2022 (diff) | |
download | cmake-common-b03a183a4759c07fbe1f3defdec4291027901fc4.tar.gz cmake-common-b03a183a4759c07fbe1f3defdec4291027901fc4.zip |
actions/check-boost-bootstrapped: only print bootstrap.log if it's there
Diffstat (limited to '.github')
-rw-r--r-- | .github/actions/check-boost-bootstrapped/action.yml | 4 |
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 '' |