Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path Separator Wrong on Windows #34

Open
darkfrog26 opened this issue Sep 20, 2021 · 3 comments
Open

Path Separator Wrong on Windows #34

darkfrog26 opened this issue Sep 20, 2021 · 3 comments

Comments

@darkfrog26
Copy link

When I attempt to copy a source_dir to destination_dir as an action on Windows, it puts the path in the wrong direction (\) so the filename is mypath\MyFile instead of MyFile in mypath. I assume the issue is the result of using the machine's path separator instead of always using / on S3.

@darkfrog26
Copy link
Author

In fact, I believe it's this line that is the culprit: https://github.com/shallwefootball/upload-s3-action/blob/master/index.js#L50

@davidjreese
Copy link

I ran into this problem also. Is there a fix or work around?

@lenartbartol
Copy link

any news on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants