Skip to content

self-hosted tools cache setup not working automatically on Linux & Mac with v2 #89

Description

@shoukoo

Hi, I am getting Version 2.x with arch x64 not found error message from my self-hosted runner on ubuntu 18.04. However, I can see that version 2.7.18 is in the versions-manifest.json file.

Run actions/setup-python@v2
Version 2.x was not found in the local cache
Version 2.x is available for downloading
Download from "https://github.com/actions/python-versions/releases/download/2.7.18-20200429.22/python-2.7.18-ubuntu-1804-x64.tar.gz"
Extract downloaded archive
/bin/tar xz --warning=no-unknown-keyword -C ./7ab082fa-bc6a-4a50-9c0e-bb389ac0bcfd -f /home/runner/actions-runner/_work/_temp/7ab082fa-bc6a-4a50-9c0e-bb389ac0bcfd
Execute installation script
##[error]Version 2.x with arch x64 not found
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/master/versions-manifest.json

manifest.json

 {
    "version": "2.7.17",
    "stable": true,
    "release_url": "https://github.com/actions/python-versions/releases/tag/2.7.17-20200429.31",
    "files": [
      {
        "filename": "python-2.7.17-macos-1014-x64.tar.gz",
        "arch": "x64",
        "platform": "darwin",
        "platform_version": "10.14",
        "download_url": "https://github.com/actions/python-versions/releases/download/2.7.17-20200429.31/python-2.7.17-macos-1014-x64.tar.gz"
      },
      {
        "filename": "python-2.7.17-macos-1014-x64.tar.gz",
        "arch": "x64",
        "platform": "darwin",
        "platform_version": "10.15",
        "download_url": "https://github.com/actions/python-versions/releases/download/2.7.17-20200429.31/python-2.7.17-macos-1014-x64.tar.gz"
      },
      {
        "filename": "python-2.7.17-ubuntu-1604-x64.tar.gz",
        "arch": "x64",
        "platform": "linux",
        "platform_version": "16.04",
        "download_url": "https://github.com/actions/python-versions/releases/download/2.7.17-20200429.31/python-2.7.17-ubuntu-1604-x64.tar.gz"
      },
      {
        "filename": "python-2.7.17-ubuntu-1804-x64.tar.gz",
        "arch": "x64",
        "platform": "linux",
        "platform_version": "18.04",
        "download_url": "https://github.com/actions/python-versions/releases/download/2.7.17-20200429.31/python-2.7.17-ubuntu-1804-x64.tar.gz"
      },
      {
        "filename": "python-2.7.17-windows-2016-x64.zip",
        "arch": "x64",
        "platform": "win32",
        "download_url": "https://github.com/actions/python-versions/releases/download/2.7.17-20200429.31/python-2.7.17-windows-2016-x64.zip"
      },
      {
        "filename": "python-2.7.17-windows-2016-x86.zip",
        "arch": "x86",
        "platform": "win32",
        "download_url": "https://github.com/actions/python-versions/releases/download/2.7.17-20200429.31/python-2.7.17-windows-2016-x86.zip"
      }
    ]
  }

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingv2relates to the v2 version of setup-python

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions