1
0
mirror of https://github.com/actions/setup-python synced 2024-11-30 21:22:28 +08:00
Commit Graph

312 Commits

Author SHA1 Message Date
Marko Zivic
a93d5412cb
Merge pull request #466 from techman83/fix/tool_path
Fix Tool Path handling for self-hosted runners
2022-07-26 15:20:04 +02:00
Leon Wright
7e39d25e3f
refactor: Debug message for Python installation path 2022-07-26 20:40:49 +08:00
Leon Wright
d5d67707d2
docs: Mac Tool Path
Ensure that the path requirements and reasoning is clear, to reduce
confusion when using self-hosted, or attempting to set an
'AGENT_TOOLSDIRECTORY' environment variable.
2022-07-26 19:40:29 +08:00
Leon Wright
bc8ee42330
fix: Mac Toolpath
Shared libraries for the Mac python builds are not configured with the
relocatable flag, thus must always be configured with the hosted path.

Relates #459
2022-07-26 19:40:29 +08:00
Leon Wright
467a981225
feat: Add 'IS_MAC' util 2022-07-26 19:38:18 +08:00
Leon Wright
9f1915a970
fix: Self-Hosted Tool Cache
This fixes the tool cache path for self-hosted runners, along
with handling AGENT_TOOLSDIRECTORY for both hosted + self-hosted.

    Fixes actions#459
2022-07-26 19:37:39 +08:00
Leon Wright
10b840936c
docs: Agent Tool Cache
This updates and simplies the tool cache documentation to match the implementation in
both  and

  Relates #459
2022-07-26 19:36:13 +08:00
Marko Zivic
5df6377e9d
Merge pull request #471 from scooby/main
Recommend using pip for simple poetry projects
2022-07-26 11:30:23 +02:00
Ben S
e147df2e90
Update README.md
Add a section to advise using only pip instead of poetry.
2022-07-25 14:22:13 -04:00
Dmitry Shibanov
2f06e9da25
Add check-latest functionality (#406) 2022-07-25 16:54:04 +02:00
Dmitry Shibanov
49a521fa06
Fix poetry version (#445) 2022-07-25 15:02:06 +02:00
Milos Pantic
592a7a7a45
Add linux os release info to primary key (#467) 2022-07-19 14:20:19 +02:00
Marko Zivic
aba6f4ba7b
Merge pull request #465 from IvanZosimov/pythonversionfile
Fixed resolveVersionInput() logic
2022-07-19 09:48:33 +02:00
IvanZosimov
b88a682917 Fix resolveVersionInput() logic 2022-07-15 16:52:20 +02:00
Marko Zivic
c474c82340
Merge pull request #454 from wrt54g/update
Update actions
2022-07-14 09:58:29 +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
Sven Serlier
b318cecd93
Update actions/checkout to v3 2022-07-03 20:15:21 +02:00
Sven Serlier
4a7ca55b40
Update actions 2022-07-03 20:14:29 +02:00
Sven Serlier
d08a9d79f1
Update actions 2022-07-03 20:13:56 +02:00
Sven Serlier
7d9c63da1b
Update actions/checkout to v3 2022-07-03 20:13:21 +02:00
Sven Serlier
5a1dd6b34d
Update actions 2022-07-03 20:11:27 +02:00
Sven Serlier
f4b85ae24e
Update actions 2022-07-03 20:10:08 +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