aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/actions/check-boost-download/action.yml
blob: 85fde6cf3bdd7e0731ecb6687e2d3f2401de2300 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 (Get-ChildItem env:BOOST_DIR).Value 'boost' $name

        if (!(Test-Path $path -Type Leaf)) {
            throw "$name wasn't found"
        }
      shell: pwsh