github actions/setup-python v4.2.0
Add check-latest input and bug fixes

latest releases: v5.1.0, v5, v5.0.0...
21 months ago

In scope of this release we add the check-latest input. If check-latest is set to true, the action first checks if the cached version is the latest one. If the locally cached version is not the most up-to-date, the version will then be downloaded from python-versions repository. By default check-latest is set to false. For PyPy it will to try to reach https://downloads.python.org/pypy/versions.json

Example of usage:

steps:
  - uses: actions/checkout@v3
  - uses: actions/setup-python@v4
    with:
      python-version: '3.9'
      check-latest: true
  - run: python --version

Besides, it includes such changes as

  • Resolved logs for python-version and file inputs: #465
  • Added linux os release info to primary key: #467
  • Added fix to change Python versions for poetry: #445
  • Fix Tool Path handling for self-hosted runners: #466

Don't miss a new setup-python release

NewReleases is sending notifications on new releases.