aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/actions
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/actions/check-boost-download/action.yml19
1 files changed, 19 insertions, 0 deletions
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