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

CI: Fix the script to install dependencies on Windows #8594

Merged
merged 1 commit into from
Oct 6, 2024
Merged

Conversation

seisman
Copy link
Member

@seisman seisman commented Oct 6, 2024

The CI workflow suddenly started to fail. The error message is:

D:\a\gmt\gmt>L "C:\Miniconda\condabin\..\Scripts\conda.exe"   update -n base -c conda-forge conda --solver libmamba 
'L' is not recognized as an internal or external command,
operable program or batch file.

but we are actually running

'C:\Miniconda\condabin\conda.bat' update -n base -c conda-forge conda --solver libmamba

in the script.

So, there must be something wrong in the conda.bat script. This is likely a bug in GitHub-hosted agent and we can do nothing.

This PR fixes it by calling the conda.exe command directly.

@seisman seisman added this to the 6.6.0 milestone Oct 6, 2024
@seisman seisman merged commit a268814 into master Oct 6, 2024
15 checks passed
@seisman seisman deleted the ci/fix-win branch October 6, 2024 08:20
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

Successfully merging this pull request may close these issues.

1 participant