Commit Graph

427 Commits

Author SHA1 Message Date
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
IvanZosimov b152b04c28 Fix typo in advanced-usage.md 2022-07-26 11:49:26 +02:00
IvanZosimov a624f1f4bc Fix grammar in both documents 2022-07-26 11:32:45 +02: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
IvanZosimov dd40245e5b Fix merge artifacts 2022-07-26 11:06:43 +02:00
IvanZosimov 1f0a39a525 Sync with Main branch 2022-07-26 11:05:09 +02:00
IvanZosimov b2241a4754 Change yml and rebuild action 2022-07-26 11:01:07 +02:00
IvanZosimov 0d94a5d71e Fix typo 2022-07-26 10:47:51 +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
IvanZosimov 889226ae9a Fix typo 2022-07-25 19:44:22 +02:00
IvanZosimov 00d9c42868 Change part with realted to self-hosted runners 2022-07-25 19:42:15 +02: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 5517d5f7b5 Fix documentation
Docs were updated to incorporate changes regarding tool cache folder
on the self-hosted runner and changes in resolveVersionInput()
2022-07-18 14:33:42 +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
IvanZosimov 799afeb796 Fix action.yml file 2022-07-13 13:43:28 +02:00
IvanZosimov 386e4eaaed Fix review points 2022-07-13 13:34:22 +02:00
IvanZosimov 61fb4e42ab Fix review points 2022-07-13 12:17:04 +02:00
IvanZosimov 09086ccd46 Update action.yml file 2022-07-13 11:27:41 +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
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