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

Adding python version to CI #244

Open
kallewesterling opened this issue May 22, 2023 · 0 comments
Open

Adding python version to CI #244

kallewesterling opened this issue May 22, 2023 · 0 comments

Comments

@kallewesterling
Copy link
Collaborator

I wonder if there's a step missing in the ci.yml GitHub action file, where the cache setup is looking for steps.full-python-version.outputs.version, but there is nothing like full-python-version in the steps. I believe, after some googling, that this is the step that should be inserted after Set up Python:

- name: Get full Python version
    id: full-python-version
    run: echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")

Alternatively, I think we can replace the steps.full-python-version.outputs.version with matrix.python-version as that's what we're running with here?

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

No branches or pull requests

2 participants