Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activation not carrying over all steps (?) #343

Open
asmaloney opened this issue Apr 19, 2024 · 0 comments
Open

Activation not carrying over all steps (?) #343

asmaloney opened this issue Apr 19, 2024 · 0 comments

Comments

@asmaloney
Copy link

This workflow was working when I last ran it about three months ago.

It failed when I ran it today because (it looks like?) paths are not correct when I run my cmake command. (CMake can no longer find a library I installed with conda.)

I dump the conda info in a previous step and it looks correct:

2024-04-19T14:14:29.7389788Z PATH=/c/Miniconda/envs/test:/c/Miniconda/envs/test/Library/mingw-w64/bin:/c/Miniconda/envs/test/Library/usr/bin:/c/Miniconda/envs/test/Library/bin:/c/Miniconda/envs/test/Scripts:/c/Miniconda/envs/test/bin:/c/Miniconda/condabin:/c/Users/runneradmin/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/usr/bin:/mingw64/bin:/usr/bin:/c/Users/runneradmin/bin:/c/Miniconda/condabin:/c/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.38.33130/bin/HostX64/x64:/c/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/VC/VCPackages:/c/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/TestWindow:...

but when I actually run my cmake, the PATH no longer contains any conda env info:

2024-04-19T14:14:29.7646761Z   Path: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.38.33130\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\VC\VCPackages;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;...

I tried setting the default shell to bash -el {0} based on this issue, but that didn't help.

I tried updating all my actions, but that didn't help.

Unfortunately the runs that used to work no longer have logs, so I can't compare.

Does anyone have any suggestions or know what might have changed behind the scenes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant