{"action":"created","issue":{"url":"https://api.github.com/repos/Chaser324/unity-build-actions/issues/6","repository_url":"https://api.github.com/repos/Chaser324/unity-build-actions","labels_url":"https://api.github.com/repos/Chaser324/unity-build-actions/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Chaser324/unity-build-actions/issues/6/comments","events_url":"https://api.github.com/repos/Chaser324/unity-build-actions/issues/6/events","html_url":"https://github.com/Chaser324/unity-build-actions/pull/6","id":275173837,"number":6,"title":"FileUtility - Checks if destination folder exists, then creates one if it doesn't","user":{"login":"miaoumew","id":24191795,"avatar_url":"https://avatars0.githubusercontent.com/u/24191795?v=4","gravatar_id":"","url":"https://api.github.com/users/miaoumew","html_url":"https://github.com/miaoumew","followers_url":"https://api.github.com/users/miaoumew/followers","following_url":"https://api.github.com/users/miaoumew/following{/other_user}","gists_url":"https://api.github.com/users/miaoumew/gists{/gist_id}","starred_url":"https://api.github.com/users/miaoumew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miaoumew/subscriptions","organizations_url":"https://api.github.com/users/miaoumew/orgs","repos_url":"https://api.github.com/users/miaoumew/repos","events_url":"https://api.github.com/users/miaoumew/events{/privacy}","received_events_url":"https://api.github.com/users/miaoumew/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-19T16:56:16Z","updated_at":"2017-11-19T20:09:10Z","closed_at":"2017-11-19T20:06:02Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Chaser324/unity-build-actions/pulls/6","html_url":"https://github.com/Chaser324/unity-build-actions/pull/6","diff_url":"https://github.com/Chaser324/unity-build-actions/pull/6.diff","patch_url":"https://github.com/Chaser324/unity-build-actions/pull/6.patch"},"body":"Unity would throw an IO exception if I tried to copy my $BUILDPATH to another folder if the destination had a path like: C:/path to my google drive/game builds/$PRODUCT_NAME-$VERSION/$ARCHITECTURE. Builds would work as expected without the nested folder.\r\n\r\nAdding a check that the folder exists before trying the copy, and creating it if it doesn't, prevents the exception for me and made the build action work as I expected, so I thought I would share."},"comment":{"url":"https://api.github.com/repos/Chaser324/unity-build-actions/issues/comments/345545466","html_url":"https://github.com/Chaser324/unity-build-actions/pull/6#issuecomment-345545466","issue_url":"https://api.github.com/repos/Chaser324/unity-build-actions/issues/6","id":345545466,"user":{"login":"Chaser324","id":675439,"avatar_url":"https://avatars1.githubusercontent.com/u/675439?v=4","gravatar_id":"","url":"https://api.github.com/users/Chaser324","html_url":"https://github.com/Chaser324","followers_url":"https://api.github.com/users/Chaser324/followers","following_url":"https://api.github.com/users/Chaser324/following{/other_user}","gists_url":"https://api.github.com/users/Chaser324/gists{/gist_id}","starred_url":"https://api.github.com/users/Chaser324/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chaser324/subscriptions","organizations_url":"https://api.github.com/users/Chaser324/orgs","repos_url":"https://api.github.com/users/Chaser324/repos","events_url":"https://api.github.com/users/Chaser324/events{/privacy}","received_events_url":"https://api.github.com/users/Chaser324/received_events","type":"User","site_admin":false},"created_at":"2017-11-19T20:09:10Z","updated_at":"2017-11-19T20:09:10Z","author_association":"OWNER","body":"Thanks for pointing out the bug and submitting a fix. I made a minor change that prevents every file copy/move from looking like an overwrite - not that it really matters at this point anyway because there isn't currently an overwrite option presented to the user."}}
{"actor":{"display_login":"Chaser324"}}