Skip to content

Activation not carrying over all steps (?) #343

Open
@asmaloney

Description

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?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions