3
0
Fork 0
mirror of https://gitea.com/actions/setup-python.git synced 2024-11-21 17:49:35 +01:00
Commit graph

11 commits

Author SHA1 Message Date
MaksimZhukov
e5af64b2df
Use GitHub releases to download python versions (#85)
This pull-request improves `setup-python` action to add ability to download specific version of Python on flight if it is not available by default.

**Details:**
`setup-python` action will download and install specific Python version from GitHub releases ([actions/python-versions](https://github.com/actions/python-versions/releases)) in case the version is not found in the local cache. All versions of Python available for installation are published in [actions/python-versions](https://github.com/actions/python-versions) repository.
All available versions are listed in the [version-manifest.json](https://github.com/actions/python-versions/blob/master/versions-manifest.json) file.

**Installation time:**

- Ubuntu / macOS: 10-20 seconds
- Windows: ~ 1 minute (mostly related to fact that we use MSI installer for Python on Windows)

Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2020-04-29 20:57:02 +03:00
Konrad Pabjan
4ff1108c39
Update NPM packages (#75)
* Update NPM packages

* Format using prettier

* Update node version in workflow

* Add .gitattributes
2020-03-26 16:39:48 +01:00
Danny McCormick
24b4fa76d2
Consume toolkit from npmjs (#12) 2019-08-20 10:27:52 -04:00
Stephen Franceschelli
7dc6a07f36 Fix build. (#8)
* Fix.

* Husky commit correct node modules
2019-07-30 13:19:56 -04:00
Danny McCormick
26fa782187 Clean up tests 2019-07-11 17:12:03 -04:00
Danny McCormick
7deb8583be case sensitive? 2019-07-11 17:04:02 -04:00
Danny McCormick
d9226ca4fd Set fallback location in tests 2019-07-11 17:00:39 -04:00
Danny McCormick
ee2b5c67ae Set fallback location in tests 2019-07-11 16:58:38 -04:00
Danny McCormick
b8b34d2b50 Dont assume python isnt installed 2019-07-11 16:37:07 -04:00
Danny McCormick
c7ad7b432d Add tests 2019-06-27 11:40:43 -04:00
Danny McCormick
39c08a0eaa Initial pass 2019-06-26 21:12:00 -04:00