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/build-boost/action.yml | |
| 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/build-boost/action.yml')
| -rw-r--r-- | .github/actions/build-boost/action.yml | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/.github/actions/build-boost/action.yml b/.github/actions/build-boost/action.yml index 71154b7..2c6f446 100644 --- a/.github/actions/build-boost/action.yml +++ b/.github/actions/build-boost/action.yml @@ -22,15 +22,21 @@ inputs: runs: using: composite steps: - - run: | + - env: + ARG_BOOST_DIR: ${{ inputs.boost-dir }} + ARG_LIBRARIES: ${{ inputs.libraries }} + ARG_TOOLSET: ${{ inputs.toolset }} + ARG_PLATFORM: ${{ inputs.platform }} + ARG_CONFIGURATION: ${{ inputs.configuration }} + run: | $python = 'python' - $boost_dir = '${{ inputs.boost-dir }}' + $boost_dir = $env:ARG_BOOST_DIR if (-not $boost_dir) { $boost_dir = $env:BOOST_DIR } - $libraries = '${{ inputs.libraries }}' + $libraries = $env:ARG_LIBRARIES $libraries = $libraries.Split(' ') if (-not $libraries) { Remove-Variable libraries @@ -38,9 +44,9 @@ runs: & $python ` -m project.boost.build ` - --toolset '${{ inputs.toolset }}' ` - --platform '${{ inputs.platform }}' ` - --configuration '${{ inputs.configuration }}' ` + --toolset $env:ARG_TOOLSET ` + --platform $env:ARG_PLATFORM ` + --configuration $env:ARG_CONFIGURATION ` -- ` $boost_dir ` $libraries |
