diff options
| author | Egor Tensin <egor@tensin.name> | 2026-10-17 14:06:33 +0500 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-10-17 14:21:07 +0500 |
| commit | 00e9f83b07d700342e7143bf0cc6245d7323501c (patch) | |
| tree | 6dc67c5dda61e16889e9b94bb2670f1592c716c5 /.github/actions/check-boost-libraries | |
| parent | consistent short-vs-long parameter ordering (diff) | |
| download | cmake-common-00e9f83b07d700342e7143bf0cc6245d7323501c.tar.gz cmake-common-00e9f83b07d700342e7143bf0cc6245d7323501c.zip | |
fix some zizmor warnings
Diffstat (limited to '.github/actions/check-boost-libraries')
| -rw-r--r-- | .github/actions/check-boost-libraries/action.yml | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/.github/actions/check-boost-libraries/action.yml b/.github/actions/check-boost-libraries/action.yml index e41e028..58d9f49 100644 --- a/.github/actions/check-boost-libraries/action.yml +++ b/.github/actions/check-boost-libraries/action.yml @@ -18,19 +18,21 @@ inputs: runs: using: composite steps: - - run: | - $boost_dir = '${{ inputs.boost-dir }}' + - env: + ARG_BOOST_DIR: ${{ inputs.boost-dir }} + ARG_LIBRARIES: ${{ inputs.libraries }} + ARG_PLATFORM: ${{ inputs.platform }} + ARG_CONFIGURATION: ${{ inputs.configuration }} + run: | + $boost_dir = $env:ARG_BOOST_DIR if (-not $boost_dir) { $boost_dir = $env:BOOST_DIR } - $libraries = '${{ inputs.libraries }}' - $libraries = $libraries.Split(' ') + $libraries = $env:ARG_LIBRARIES.Split(' ') + $configuration = $env:ARG_CONFIGURATION.ToLower() - $configuration = '${{ inputs.configuration }}' - $configuration = $configuration.ToLower() - - $installdir = Join-Path 'install_dir' '${{ inputs.platform }}' $configuration + $installdir = Join-Path 'install_dir' $env:ARG_PLATFORM $configuration $librarydir = Join-Path $boost_dir $installdir 'lib' function Get-FileStubs { |
