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

Use separate conda cache directories in CI #599

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

altheaden
Copy link
Collaborator

This PR updates the build workflow to use separate directories for each python version for conda caching. Issues with this seem to have been crashing CI runs lately.

I also fixed a bug in the docs workflow, where it was referring to a nonexistent python version matrix (likely a remnant of copying from the build workflow). Instead, I set this to be an environment variable called PYTHON_VERSION which will allow us to more easily specify and update the python version we use for the documentation without having to change it in a couple different places.

@altheaden altheaden added the ci Changes that affect github actions CI label Jan 17, 2025
@altheaden altheaden requested a review from xylar January 17, 2025 17:49
Copy link
Collaborator

@xylar xylar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@altheaden, looks good!

@xylar xylar merged commit fce7b36 into MPAS-Dev:master Jan 17, 2025
5 checks passed
@altheaden altheaden deleted the fix-conda-cache branch January 17, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Changes that affect github actions CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants