diff --git a/.github/workflows/.craft.ps1 b/.github/workflows/.craft.ps1 index 8e88dbc9057..77110e504dd 100644 --- a/.github/workflows/.craft.ps1 +++ b/.github/workflows/.craft.ps1 @@ -1,5 +1,7 @@ if ($IsWindows) { $python=(py -V:3.11 -c "import sys; print(sys.executable)") +} else if ($IsMacOS) + $python = (Get-Command "python3.11").Source } else { $python = (Get-Command python3).Source }