Skip to content

Add check-latest input and bug fixes

Compare
Choose a tag to compare
@dmitry-shibanov dmitry-shibanov released this 02 Aug 12:44
· 107 commits to main since this release
b55428b

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