Title: Support cache-dependency-paths outside the current directory · Issue #361 · actions/setup-python · GitHub
Open Graph Title: Support cache-dependency-paths outside the current directory · Issue #361 · actions/setup-python
X Title: Support cache-dependency-paths outside the current directory · Issue #361 · actions/setup-python
Description: Description: I'm building a composite Action which uses actions/setup-python internally. When specifying the requirements.txt from the action setting up Python fails, though I thiiink I'm passing the right values. Here's what I've got: -...
Open Graph Description: Description: I'm building a composite Action which uses actions/setup-python internally. When specifying the requirements.txt from the action setting up Python fails, though I thiiink I'm passing t...
X Description: Description: I'm building a composite Action which uses actions/setup-python internally. When specifying the requirements.txt from the action setting up Python fails, though I thiiink I'm p...
Opengraph URL: https://github.com/actions/setup-python/issues/361
X: @github
Domain: redirect.github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support cache-dependency-paths outside the current directory","articleBody":"**Description:**\r\n\r\nI'm building a composite Action which uses `actions/setup-python` internally. When specifying the `requirements.txt` from the action setting up Python fails, though I thiiink I'm passing the right values.\r\n\r\nHere's what I've got:\r\n``` yaml\r\n - name: Set up Python\r\n uses: actions/setup-python@v3\r\n with:\r\n python-version: '3.10'\r\n cache: pip\r\n cache-dependency-path: ${{ github.action_path }}/requirements.txt\r\n```\r\n\r\nHere's the [error I get](https://github.com/srobo/sr2022-comp/runs/5711971554?check_suite_focus=true):\r\n\u003e No file in /home/runner/work/sr2022-comp/sr2022-comp matched to [/home/runner/work/_actions/PeterJCLaw/srcomp-validate-action/bd809ff12b77607cc2f0ebbd035d6f0a5c8d32fc/requirements.txt], make sure you have checked out the target repository\r\n\r\n`sr2022-comp` is the repo I'm using to test the action, `srcomp-validate-action` is the action.\r\n\r\nMy specific use-case only has a couple of dependencies so #351 would likely work as a fix, though I can imagine that a more complex scenario would want this to work.\r\n\r\n**Platform:** Ubuntu","author":{"url":"https://github.com/PeterJCLaw","@type":"Person","name":"PeterJCLaw"},"datePublished":"2022-03-27T21:32:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":23},"url":"https://github.com/361/setup-python/issues/361"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f3cd38f5-7fd5-e523-94f5-ac3c0a7f04d8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8990:21FAD6:6735F3:8A4F04:69692881 |
| html-safe-nonce | 97412af197241d5fcf5f3bf62c18f0540818520de9adde8e8f66df45da6a1208 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTkwOjIxRkFENjo2NzM1RjM6OEE0RjA0OjY5NjkyODgxIiwidmlzaXRvcl9pZCI6IjY3MDAxNjM5ODg4ODA4NTYzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9f6f884487b330186f1d1807224db0186ef80bfc9c9847b01a779f2bd70e36df |
| hovercard-subject-tag | issue:1182670045 |
| github-keyboard-shortcuts | repository,issues,actions,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/actions/setup-python/361/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b85bea1dc11db5cc9522b53efa8cfb06217a2ef45132795b8e3b26614c211c53/actions/setup-python/issues/361 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b85bea1dc11db5cc9522b53efa8cfb06217a2ef45132795b8e3b26614c211c53/actions/setup-python/issues/361 |
| og:image:alt | Description: I'm building a composite Action which uses actions/setup-python internally. When specifying the requirements.txt from the action setting up Python fails, though I thiiink I'm passing t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PeterJCLaw |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-preview |
| go-import | github.com/actions/setup-python git https://github.com/actions/setup-python.git |
| octolytics-dimension-user_id | 44036562 |
| octolytics-dimension-user_login | actions |
| octolytics-dimension-repository_id | 192625525 |
| octolytics-dimension-repository_nwo | actions/setup-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 192625525 |
| octolytics-dimension-repository_network_root_nwo | actions/setup-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width