Commit Graph

76 Commits

Author SHA1 Message Date
IvanZosimov 61fb4e42ab Fix review points 2022-07-13 12:17:04 +02:00
IvanZosimov 746f28a2d3 Update REAMDE.md and advanced-usage.md 2022-07-13 11:15:35 +02:00
IvanZosimov 6dd8ff72eb Change tool cache wording 2022-07-12 17:32:40 +02:00
IvanZosimov 9a40041e25 Rearrange README.md, add advanced-usage.md 2022-07-12 16:38:54 +02:00
James c4e89fac7e
Improve readme for 3.x and 3.11-dev style python-version (#441) 2022-07-07 23:34:44 +02:00
Aarni Koskela af97157ae6
doc: Add multiple wildcards example to readme
Based on https://www.npmjs.com/package/@actions/glob (the library used for cache file globbing), newline-separating multiple patterns is accepted.
2022-07-04 12:24:58 +03:00
Marko Zivic 364e819741
Merge pull request #394 from akv-platform/v-sedoli/set-env-by-default
Assign default value of AGENT_TOOLSDIRECTORY if not set
2022-07-04 10:35:46 +02:00
Dmitry Shibanov 766e8c6088
Fixing pipenv CI (#444)
* work on fixing pipenv

* change installation of pipenv to curl

* add different logs

* regenerate pipefile.lock

* change pipenv ci
2022-06-29 13:09:14 -04:00
Matthieu Darbois 00a5248c77
feature: add `update-environment` input (#411)
This option allows to specify if the action shall update environment variables (default) or not.
This allows to use the setup-python action in a composite action without side effect (except downloading/installing python if version is missing).
2022-06-29 11:00:51 -04:00
Sergey Dolin 5ad79022bc Change README 2022-06-29 11:21:25 +02:00
Brian Cristante cf86e08a31
Revert "Pass the `token` input through on GHES (#427)" (#437)
This reverts commit 7e4abae443.
2022-06-16 11:08:06 -04:00
Hugo van Kemenade 8fb4cbf7c8
README: Document pypy2 and pypy3 are deprecated (#265) 2022-06-15 14:03:21 +02:00
Brian Cristante 7e4abae443
Pass the `token` input through on GHES (#427)
* Pass the`token` input through on GHES

* Update the description for `token`

* Fix dist files

* Update package-lock.json

* Update README

* Fix indent level in YAML snippet

* secret names can't start with GITHUB_
2022-06-13 14:55:47 -04:00
Vladimir Safonkin 775367df99 Update docs to v4 version 2022-06-09 09:54:52 +02:00
Matthieu Darbois d09bd5e600
fix: 3.x-dev can install a 3.y version (#417)
* fix: 3.x-dev can install a 3.y version

* Update README section for `-dev`
2022-06-08 14:58:05 +02:00
Ivan f72db171ab
Made env.var pythonLocation consistent for Python and PyPy (#418)
* Change find-pypy.ts to redefine pythonLocaction environment variable

* Change README.md in order to add sentence about pythonLocation envvar

* Change sentence about pythonLocation envvar in README.md

* Rephrase the definition of pythonLocation env.var
2022-06-08 14:57:23 +02:00
mayeut ff706563d7
feature: add a `python-path` output
Expose a `python-path` output containing the chosen Python executable path.
2022-05-24 21:02:03 +02:00
Matthieu Darbois fff15a21cc
Use pypyX.Y for PyPy python-version input (#349)
This versioning scheme is consistent with other
tools in the python ecosystem so it feels more natural
and allows better interaction with other tools.

fixes #346
2022-05-18 15:20:53 +02:00
Marko Zivic c57f79353b
Merge pull request #318 from neutrinoceros/document_dev_sugar
DOC: document -dev syntactic sugar
2022-05-06 13:03:34 +02:00
Dmitry Shibanov 6a4c6c1309
adjust documentation for python versions (#388) 2022-04-20 14:48:22 +02:00
Vladimir Safonkin abfd16b121 Fix virtual-env toolcache links 2022-04-19 15:21:09 +02:00
Shubham Tiwari 9c644ca2ab
Update README.md to fix setup-python version in example (#368) 2022-04-01 13:20:54 +02:00
Patrick Arminio 18c67b44e4
Initial preparation to add support for poetry 2022-03-25 22:53:30 -05:00
Christian Clauss 8c1441c007
README.md: Upgrade to v3
* https://github.com/actions/checkout/releases
* https://github.com/actions/setup-python/releases
2022-03-17 07:40:10 +01:00
Clément Robert 0bcf8ef2ba DOC: document -dev syntactic sugar 2022-01-12 10:35:17 +01:00
Christian Clauss 9a115684c9
README.md: Bring Python versions up to date (#256) 2021-12-30 11:55:42 +03:00
Lenin 3a40ba0199
Fix small typo in README (comma missing) (#277) 2021-12-29 16:01:07 +03:00
killuazhu fa17801fa7
Fix typo in README.md (#224) 2021-12-29 15:30:46 +03:00
Dmitry Shibanov 2b732b899c
Removing a non-existent command from the documentation (#293) 2021-12-13 18:51:02 +03:00
Dmitry Shibanov 280924fbef
Implementation of python's caching (#266) 2021-11-17 13:31:22 +03:00
Micael Jarniac 52636cf49a
Fix consistency in README (#250) 2021-11-12 18:22:20 +03:00
Konrad Pabjan 43c2dc443f
Recommendations for Python on GHES (#219)
* Recommendations for Python on GHES

* Update README.md

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2021-06-24 22:50:36 +02:00
Adam J. Stewart 66319ca9fa
Use quotes around Python versions in README (#175) 2021-01-04 11:14:24 +01:00
Dmitry Shibanov 8c5ea631b2
Adding support for more PyPy versions and installing them on-flight (#168)
* add support to install pypy

* resolved comments, update readme, add e2e tests.

* resolve throw error

* Add pypy unit tests to cover code

* add tests

* Update test-pypy.yml

* Update test-python.yml

* Update test-python.yml

* Update README.md

* fixing tests

* change order

Co-authored-by: Maxim Lobanov <v-malob@microsoft.com>

* add pypy tests and fix issue with pypy-3-nightly

Co-authored-by: Maxim Lobanov <v-malob@microsoft.com>
2020-12-17 16:03:54 +01:00
Prince 41b7212b16
Update README.md (#145) 2020-10-14 11:59:10 +02:00
per1234 1ce870e10f
Fix links in documentation (#135)
The "Software installed on GitHub-hosted runners" link was broken.

The other changed links were redirecting from moved pages.
2020-09-24 00:28:07 +02:00
Daniel 51d2bf1911
Fix minor typo (#130) 2020-08-31 15:45:09 +02:00
jamielaux 24156c231c
fix: small typo in the docs (#127) 2020-08-11 15:47:33 +02:00
MaksimZhukov 306c473438
Add support of pre-release Python versions (#112)
* Add support of unstable Python versions

* Update README

* Get rid of stable boolean input

* Fix typo in the test.yml

* Update README

Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
2020-07-17 11:58:03 +02:00
Konrad Pabjan 7a69c2bc7d
Improved logging during setup (#113)
* Improved error output during setup

* Change from debug to info for normal output

* Apply suggestions from code review

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2020-07-15 19:13:43 +02:00
Konrad Pabjan 654aa00a6e
Update README.md 2020-07-15 11:28:54 +02:00
ferhat elmas 2241d846ba
Fix matrix value for non-default py version example (#100) 2020-06-19 15:49:00 +02:00
Konrad Pabjan ee653cd47f
Updated self-hosted guidelines for Linux and Mac (#90)
* Updated self-hosted guidelines

* Apply suggestions from code review

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>

* PR Feedback

* Apply suggestions from code review

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2020-05-11 15:15:31 +02:00
Konrad Pabjan f129643215
Update README.md 2020-05-04 12:03:11 +02:00
Konrad Pabjan 6c4e46d258
Update from v1 to v2 2020-04-30 11:57:41 +02:00
Konrad Pabjan 824e8a7e12
Add what's new section 2020-04-30 11:54:06 +02:00
Konrad Pabjan 8910d815ad
Update README.md 2020-04-30 11:17:58 +02:00
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 2ba2a92f71
Setup python + self hosted runners documentation 2020-03-09 09:24:28 +01:00
Ye-hyoung Kang aa7403d0cc
Fix cross-platform build matrix example 2020-03-05 19:17:25 +09:00