{"action":"created","issue":{"url":"https://api.github.com/repos/yarnpkg/website/issues/832","repository_url":"https://api.github.com/repos/yarnpkg/website","labels_url":"https://api.github.com/repos/yarnpkg/website/issues/832/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/website/issues/832/comments","events_url":"https://api.github.com/repos/yarnpkg/website/issues/832/events","html_url":"https://github.com/yarnpkg/website/issues/832","id":327886742,"node_id":"MDU6SXNzdWUzMjc4ODY3NDI=","number":832,"title":"Appveyor yarn caching assumes Windows image","user":{"login":"jacobq","id":1633459,"node_id":"MDQ6VXNlcjE2MzM0NTk=","avatar_url":"https://avatars3.githubusercontent.com/u/1633459?v=4","gravatar_id":"","url":"https://api.github.com/users/jacobq","html_url":"https://github.com/jacobq","followers_url":"https://api.github.com/users/jacobq/followers","following_url":"https://api.github.com/users/jacobq/following{/other_user}","gists_url":"https://api.github.com/users/jacobq/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobq/subscriptions","organizations_url":"https://api.github.com/users/jacobq/orgs","repos_url":"https://api.github.com/users/jacobq/repos","events_url":"https://api.github.com/users/jacobq/events{/privacy}","received_events_url":"https://api.github.com/users/jacobq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-30T20:28:17Z","updated_at":"2018-05-31T07:34:40Z","closed_at":null,"author_association":"NONE","body":"I'm not sure where I should file this issue, but AppVeyor now supports Linux VMs (and supposedly plans to support macOS soon), yet [this page (https://yarnpkg.com/lang/en/docs/install-ci/)](https://yarnpkg.com/lang/en/docs/install-ci/) shows only the `%LOCALAPPDATA%` approach, which will only work on Windows VMs. Looks like `yarn cache dir` shows the corresponding dir on their Linux VMs to be: `/home/appveyor/.cache/yarn/v1` so the following snippet could be added to `appveyor.yml`:\r\n\r\n```\r\nfor:\r\n-\r\n  matrix:\r\n    except:\r\n      - image: Ubuntu\r\n  cache:\r\n    - \"%LOCALAPPDATA%\\\\Yarn\"\r\n\r\n-\r\n  matrix:\r\n    only:\r\n      - image: Ubuntu\r\n  cache:\r\n    - \"~/.cache/yarn\"\r\n```"},"comment":{"url":"https://api.github.com/repos/yarnpkg/website/issues/comments/393437883","html_url":"https://github.com/yarnpkg/website/issues/832#issuecomment-393437883","issue_url":"https://api.github.com/repos/yarnpkg/website/issues/832","id":393437883,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzQzNzg4Mw==","user":{"login":"Haroenv","id":6270048,"node_id":"MDQ6VXNlcjYyNzAwNDg=","avatar_url":"https://avatars3.githubusercontent.com/u/6270048?v=4","gravatar_id":"","url":"https://api.github.com/users/Haroenv","html_url":"https://github.com/Haroenv","followers_url":"https://api.github.com/users/Haroenv/followers","following_url":"https://api.github.com/users/Haroenv/following{/other_user}","gists_url":"https://api.github.com/users/Haroenv/gists{/gist_id}","starred_url":"https://api.github.com/users/Haroenv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Haroenv/subscriptions","organizations_url":"https://api.github.com/users/Haroenv/orgs","repos_url":"https://api.github.com/users/Haroenv/repos","events_url":"https://api.github.com/users/Haroenv/events{/privacy}","received_events_url":"https://api.github.com/users/Haroenv/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T07:34:40Z","updated_at":"2018-05-31T07:34:40Z","author_association":"MEMBER","body":"Do you want to do a PR correcting that?"}}
{"actor":{"display_login":"Haroenv"}}