Commit Graph

27 Commits

Author SHA1 Message Date
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
Andrew DiLosa 53e15292cd
add support for python-version-file (#336)
* add support for python-version-file

* Update action.yml

* update to v4, remove python-version default

* python-version overrides python-version-file, like setup-node
* checks '.python-version' by default if nothing else specified

* update tests, update to checkout@v3

* update build

* appease the linter

* remove old test for default python version

* revert readme changes

* update build
2022-06-02 16:37:57 +02:00
Dmitry Shibanov 397252c582
Update zeit/ncc to vercel/ncc (#393) 2022-05-31 12:56:29 +02:00
Deepak Dahiya 98f2ad02fd
Updated @actions/cache (#382) 2022-04-11 19:06:33 +05:30
Shubham Tiwari 05fb98de9a
Cache on ghes (#363)
* initial changes

* updated version

* format check

* refactored code

* updated test cases

* Update src/utils.ts

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

* Update utils.ts

* Update utils.test.ts

* review comments

* dist update

* Review comment

* update version

* updated version

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2022-03-31 15:11:27 -04:00
Dmitry Shibanov 665cd78205
Update lockfileversion (#341) 2022-02-25 14:12:36 +03:00
Dmitry Shibanov 6277dd1255
Fix build command (#306) 2021-12-21 15:44:58 +03:00
Nikita Bykov f382193329
Update @actions/cache version to 1.0.8 (#283) 2021-11-29 12:19:53 +03:00
Dmitry Shibanov 280924fbef
Implementation of python's caching (#266) 2021-11-17 13:31:22 +03:00
Nikita Bykov ca5c59064f
Update version for setup-python in package.json (#264) 2021-11-09 17:07:47 +03:00
Dmitry Shibanov 4aa563ba8c update dependencies 2021-10-13 15:18:42 +03:00
Thomas Boop b9436a7e86
Add `Licensed` To Help Verify Prod Licenses (#128)
* Add Licensed Workflow and config

* manual validation of dependencies

* Ignore Generated Files in Git PR's

* update contributing.md
2020-09-23 23:22:43 +02:00
Konrad Pabjan 807b74f98c 2.0.1 2020-05-21 13:18:04 +02:00
Konrad Pabjan 4dda7a3aa1
Support for GHES (#95) 2020-05-20 15:35:09 +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 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
Konrad Pabjan 8ad00a65a6
Updates to npm packages (#66)
* npm package updates

* Updates to ncc build
2020-03-09 10:16:37 +01:00
Konrad Pabjan 4875b9e438 PR Feedback 2019-11-06 10:20:01 -05:00
Konrad Pabjan 08bf913604 Update release script 2019-11-05 17:42:30 -05:00
Konrad Pabjan 3d91cc2674 Cleanup 2019-11-05 17:38:12 -05:00
Konrad Pabjan 9bdab6de30 Use ncc instead of saving node_modules 2019-11-05 16:58:50 -05:00
Dongjoon Hyun 62618cdaa5 Fix Repo URL 2019-09-24 13:03:43 -07:00
Danny McCormick 24b4fa76d2
Consume toolkit from npmjs (#12) 2019-08-20 10:27:52 -04:00
Danny McCormick 5dc682444b
v1 (#9) 2019-08-01 09:16:36 -04:00
Danny McCormick 3002446494
Fix husky 2019-07-12 11:00:11 -04:00
Danny McCormick b581dd4017 Nits 2019-07-11 16:46:34 -04:00
Danny McCormick 39c08a0eaa Initial pass 2019-06-26 21:12:00 -04:00