warrenbuckley / Setup-VSWhere

Set up your GitHub Actions workflow with 2.7.1 version of VSWhere.exe CLI tool
MIT License
2 stars 1 forks source link

Tool is outdated, the 'add-path' command is disabled #15

Open SivkovSavely opened 2 years ago

SivkovSavely commented 2 years ago

Hi, I get the following output on the action:

Run warrenbuckley/Setup-VSWhere@v1
Error: Unable to process command '##[add-path]C:\actions-runner\_work\_tool\vswhere\2.7.1\x64' successfully.
Error: The `add-path` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

I was getting the same error on warrenbuckley/Setup-MSBuild, but then I saw that you collaborated with Microsoft to make microsoft/setup-msbuild. Can you please update this tool as well or can you please lead me to an alternative? I definitely don't want to allow unsecure commands as it is a vulnerability.

SivkovSavely commented 2 years ago

@warrenbuckley