aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/actions/check-boost-download/action.yml
blob: a7c8e6b29bb2d0913b16205ca33ea2d3aec434c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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