setup-miniconda icon indicating copy to clipboard operation
setup-miniconda copied to clipboard

Issue #208 - Do not move non-existing files

Open martin-g opened this issue 2 years ago • 2 comments

This is a small improvement to not try to move .bashrc into .profile if .bashrc does not even exists.

This is needed for non-ephemeral self-hosted Github Actions runners where one VM could run multiple runners.

There is still a chance another GHA runner to move the file between the existsSync and io.mv calls.

martin-g avatar Dec 29 '21 13:12 martin-g

There is still a chance another GHA runner to move the file between the existsSync and io.mv calls.

I don't see a solution for this problem except stop using the shell rc files completely.

Would it be possible to just issue conda activate XYZ when/where needed instead of adding bashExtraText to ~/.profile ?

martin-g avatar Dec 29 '21 13:12 martin-g

Thanks for working on this @martin-g

goanpeca avatar Dec 29 '21 17:12 goanpeca

Sorry for the delays! And thanks again for your contribution 🚀

goanpeca avatar Nov 11 '22 13:11 goanpeca