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

293 commits

Author SHA1 Message Date
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
Marko Zivic
0ad0f6a0a5
Merge pull request #452 from mayeut/fix-env
Remove duplicate code introduced in #440
2022-07-06 16:11:51 +02:00
Marko Zivic
f0bcf8be03
Merge pull request #456 from akx/patch-1
doc: Add multiple wildcards example to readme
2022-07-05 08:23:25 +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
Marko Zivic
782f81b91d
Merge pull request #450 from IvanZosimov/ResolveVersionFix
Rearranged logic of the ResolveVersionInput()
2022-07-04 08:20:42 +02:00
mayeut
2c9de4ed41
Remove duplicate code introduced in #440
#440 duplicated a block of code outside of `if (updateEnvironment) {` condition. This was probably an oversight when merging `main` back on the PR branch. The tests should have seen that `core.exportVariable` was being called and should have failed.
2022-07-02 11:50:48 +02:00
mayeut
412091c1e0
Fix tests for update-environment==false 2022-07-02 11:50:48 +02:00
Marko Zivic
78a2330b92
Merge pull request #451 from dmitry-shibanov/fx-pipenv-python-version
Fx pipenv python version
2022-07-01 16:57:38 +02:00
Sergey Dolin
96f494e18c trigger checks 2022-07-01 10:28:46 +02:00
IvanZosimov
099ed898be Optimize code 2022-06-30 18:42:04 +02:00
IvanZosimov
ccb7da8ae9 Change warning handler to default 2022-06-30 18:28:17 +02:00
IvanZosimov
5fbb819407 Optimize logic, rebuild action 2022-06-30 17:32:12 +02:00
IvanZosimov
82eddc4023 Add warning in case the versionFile isn't found 2022-06-30 16:34:29 +02:00
IvanZosimov
d97b6edda3 Fix typos 2022-06-30 16:25:46 +02:00
IvanZosimov
a6b01c4e40 Rebuild action with new changes 2022-06-30 16:22:51 +02:00
IvanZosimov
84087f5301 Rearrange logic 2022-06-30 16:21:14 +02:00
IvanZosimov
56f6060254 Fix naming 2022-06-30 14:41:09 +02:00
IvanZosimov
e29a7c89f6 Merge branch 'main' into ResolveVersionFix 2022-06-30 14:40:24 +02:00
Marko Zivic
5407bf6e69
Merge pull request #448 from IvanZosimov/CacheLibVersionUpdate
Add support for the @actions/cache library 3.0.0
2022-06-30 14:38:10 +02:00
IvanZosimov
41b91104ea Rebuild action 2022-06-30 14:26:40 +02:00
IvanZosimov
08116500d0 Rebuild action 2022-06-30 14:19:36 +02:00
IvanZosimov
161c3a68f0 Merge branch 'main' into CacheLibVersionUpdate 2022-06-30 14:18:06 +02:00
IvanZosimov
6733fc44ec Fix typo 2022-06-30 13:44:10 +02:00
IvanZosimov
afd3e72a25 Fix bug in resolveVersionInput() 2022-06-30 13:38:43 +02:00
Marko Zivic
ab6deb310f
Merge pull request #440 from akv-platform/v-sdolin/issue-231
Add CMake hints
2022-06-30 08:56:04 +02:00
Sergey Dolin
e629242ad4 Fix failed check 2022-06-30 07:56:08 +02:00
Sergey Dolin
63086c6ded rebase main 2022-06-30 07:46:53 +02:00
Sergey Dolin
69b94463f5 Add CMake hints 2022-06-30 07:43:57 +02:00
Dmitry Shibanov
d7db8259d9 update pypy versions 2022-06-29 23:41:39 +02:00
Dmitry Shibanov
27091d50ca minor fix 2022-06-29 20:38:02 +02:00
Dmitry Shibanov
d358f9e3d7 fix check 2022-06-29 20:28:20 +02:00
Dmitry Shibanov
1e52de40a4 fixing pipenv 2022-06-29 20:16:07 +02:00
Dmitry Shibanov
2a20d9b5e0 add --python 3 2022-06-29 19:36:35 +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
9c76df2a90 Build after rebase 2022-06-29 11:24:02 +02:00
Sergey Dolin
958897304a Exclude windows from the fix 2022-06-29 11:22:07 +02:00
Sergey Dolin
5d9fdcab75 Handle each OS in its own way 2022-06-29 11:22:07 +02:00
Sergey Dolin
7199395312 Fix dist folder 2022-06-29 11:22:06 +02:00
Sergey Dolin
5ad79022bc Change README 2022-06-29 11:21:25 +02:00
Sergey Dolin
a8da2a66aa Use /opt/hostedtoolcache as default value AGENT_TOOLSDIRECTORY 2022-06-29 11:21:21 +02:00
IvanZosimov
c61bc3d08e Update licenses 2022-06-28 15:40:29 +02:00
IvanZosimov
01408cef88 Update cache-save.ts to support @actions/cache v3.0.0 lib
Made package.json and package-lock.json to use @actions/cache v3.0.0,
updated logic of the cache-save operation and added unit-tests
2022-06-28 15:17:50 +02:00
Kurt von Laven
ffcd00020c
Allow python-version-file to be a relative path (#431) 2022-06-20 16:04:59 +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