aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/actions/check-arch
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-10-17 14:06:33 +0500
committerEgor Tensin <egor@tensin.name>2026-10-17 14:21:07 +0500
commit00e9f83b07d700342e7143bf0cc6245d7323501c (patch)
tree6dc67c5dda61e16889e9b94bb2670f1592c716c5 /.github/actions/check-arch
parentconsistent short-vs-long parameter ordering (diff)
downloadcmake-common-00e9f83b07d700342e7143bf0cc6245d7323501c.tar.gz
cmake-common-00e9f83b07d700342e7143bf0cc6245d7323501c.zip
fix some zizmor warnings
Diffstat (limited to '.github/actions/check-arch')
-rw-r--r--.github/actions/check-arch/action.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/actions/check-arch/action.yml b/.github/actions/check-arch/action.yml
index b8e4d64..3dce1d1 100644
--- a/.github/actions/check-arch/action.yml
+++ b/.github/actions/check-arch/action.yml
@@ -10,14 +10,17 @@ inputs:
runs:
using: composite
steps:
- - run: |
+ - env:
+ ARG_PATH: ${{ inputs.path }}
+ ARG_EXPECTED: ${{ inputs.expected }}
+ run: |
$script_path = if ($env:CI_TARGET_PE) {
Join-Path $env:GITHUB_WORKSPACE 'test' 'scripts' 'verify_arch.ps1'
} else {
Join-Path $env:GITHUB_WORKSPACE 'test' 'scripts' 'verify_arch.sh'
}
- $exe_path = (Join-Path '${{ inputs.path }}' 'bin' 'foo') + $env:CI_EXE_EXT
+ $exe_path = (Join-Path $env:ARG_PATH 'bin' 'foo') + $env:CI_EXE_EXT
- & $script_path $exe_path '${{ inputs.expected }}'
+ & $script_path $exe_path $env:ARG_EXPECTED
shell: pwsh