diff options
| author | Egor Tensin <egor@tensin.name> | 2026-10-17 09:10:13 +0500 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-10-17 09:10:13 +0500 |
| commit | 71b60e1e2c8329bd70161979467ecfd917f4f464 (patch) | |
| tree | 1b2f8d0f07d2afeb7a6372d450cea75d69a23496 /.github/actions/check-cc | |
| parent | README: update (diff) | |
| download | setup-clang-71b60e1e2c8329bd70161979467ecfd917f4f464.tar.gz setup-clang-71b60e1e2c8329bd70161979467ecfd917f4f464.zip | |
fix zizmor warnings
Diffstat (limited to '.github/actions/check-cc')
| -rw-r--r-- | .github/actions/check-cc/action.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/actions/check-cc/action.yml b/.github/actions/check-cc/action.yml index 4dbeb0a..646babc 100644 --- a/.github/actions/check-cc/action.yml +++ b/.github/actions/check-cc/action.yml @@ -7,7 +7,9 @@ inputs: runs: using: composite steps: - - run: | + - env: + ARG_VERSION: ${{ inputs.version }} + run: | function Check-Exe { param( [Parameter(Mandatory=$true)] @@ -20,7 +22,7 @@ runs: $($output | Select-String -Pattern "clang version" -SimpleMatch -Quiet) -or $(throw "Unexpected `$Exe --version` output") - $version = '${{ inputs.version }}' + $version = $env:ARG_VERSION if ($version) { $($output | Select-String -Pattern "$version." -SimpleMatch -Quiet) -or $(throw "Unexpected `$Exe --version` output") } |
