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-symbols/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/check-symbols/action.yml')
| -rw-r--r-- | .github/actions/check-symbols/action.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/actions/check-symbols/action.yml b/.github/actions/check-symbols/action.yml index 3681f52..50a6843 100644 --- a/.github/actions/check-symbols/action.yml +++ b/.github/actions/check-symbols/action.yml @@ -10,8 +10,11 @@ inputs: runs: using: composite steps: - - run: | - $install_dir = '${{ inputs.path }}' + - env: + ARG_PATH: ${{ inputs.path }} + ARG_EXPECTED: ${{ inputs.expected }} + run: | + $install_dir = $env:ARG_PATH $bin_dir = Join-Path $install_dir 'bin' $lib_dir = Join-Path $install_dir 'lib' @@ -21,7 +24,7 @@ runs: throw "Verifying symbols for PE executables is not implemented" } - ConvertFrom-Json '${{ inputs.expected }}' | %{ + ConvertFrom-Json $env:ARG_EXPECTED | %{ $target = $_.target $type = $_.type |
