Ben Chuanlong Du's Blog

It is never too late to learn.

Powershell on Windows for GitHub Actions

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

PowerShell on Windows

Set PATH

echo "::add-path::./swigwin-4.0.1"

echo %programfiles% echo ::set-env name=ProgramFilesPath::%programfiles%

https://stackoverflow.com/questions/60169752/how-to-update-the-path-in-a-github-action-workflow-file-for-a-windows-latest-hos

https://docs.github.com/en/free-pro-team@latest/actions …