From e122bed1d389c0269ab5990016c633891622fdea Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 3 May 2021 09:07:43 +0300 Subject: add GitHub workflow to check Boost CDNs --- .github/actions/check-boost-download/action.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/actions/check-boost-download/action.yml (limited to '.github/actions') diff --git a/.github/actions/check-boost-download/action.yml b/.github/actions/check-boost-download/action.yml new file mode 100644 index 0000000..a7c8e6b --- /dev/null +++ b/.github/actions/check-boost-download/action.yml @@ -0,0 +1,19 @@ +name: Check that Boost was downloaded +description: Check that Boost was downloaded +runs: + using: composite + steps: + - run: | + echo '' + echo '----------------------------------------------------------------' + echo 'Checking that config.hpp exists' + echo '----------------------------------------------------------------' + $name = 'config.hpp' + $path = Join-Path $env:BOOST_DIR 'boost' $name + + $exists = Test-Path $path -Type Leaf + + if (!(Test-Path $path -Type Leaf)) { + throw "$name wasn't found" + } + shell: pwsh -- cgit v1.2.3