diff options
| author | Egor Tensin <egor@tensin.name> | 2025-12-29 22:32:57 +0100 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2025-12-29 22:35:29 +0100 |
| commit | 03f3e841176d3b1f94fd9434943b16441493dbc1 (patch) | |
| tree | 3fc48694a9cf0fa4ecae8d872dfed916b794a00a /.github/actions/software-environment | |
| parent | workflows/example_toolsets: upgrade actions (diff) | |
| download | cmake-common-03f3e841176d3b1f94fd9434943b16441493dbc1.tar.gz cmake-common-03f3e841176d3b1f94fd9434943b16441493dbc1.zip | |
drop Cygwin, it's obsolete
Diffstat (limited to '.github/actions/software-environment')
| -rw-r--r-- | .github/actions/software-environment/action.yml | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/.github/actions/software-environment/action.yml b/.github/actions/software-environment/action.yml index 872449d..9dd1486 100644 --- a/.github/actions/software-environment/action.yml +++ b/.github/actions/software-environment/action.yml @@ -26,9 +26,7 @@ runs: function Print-Info { param( [Parameter(Mandatory=$true)] - [string] $name, - [Parameter()] - [string] $exe + [string] $name ) echo '' @@ -36,11 +34,7 @@ runs: echo $name echo '------------------------------------------------------------' - if (!$exe) { - $exe = $name - } - - $full_path = Get-Command $exe -ErrorAction SilentlyContinue + $full_path = Get-Command $name -ErrorAction SilentlyContinue if ($full_path) { $full_path = $full_path.Path echo "Location: $full_path" @@ -51,12 +45,7 @@ runs: } } - $python = 'python' - if ($env:CI_HOST_CYGWIN) { - $python = 'python3' - } - - Print-Info 'python' $python + Print-Info 'python' Print-Info 'cmake' Print-Info 'make' Print-Info 'mingw32-make' |
