You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Set up Pythonuses: actions/setup-python@v5with:
python-version-file: '.python-version'
The .python-version file
# This file is read by the terraform if var.runtime is unset
3.11
The error
Version # This file is read by the terraform if var.runtime is unset
3.11 was not found in the local cache
Error: The version '# This file is read by the terraform if var.runtime is unset 3.11' with architecture 'x64' was not found for Ubuntu 22.04.
The list of all available versions can be found here: https://github.com/raw/actions/python-versions/main/versions-manifest.json
Action version:
Latest v5
Platform:
Ubuntu
macOS
Windows
Runner type:
Hosted
Self-hosted
Tools version:
Repro steps:
See above
Expected behavior:
Ignores the comments and only grabs the version