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

add windows compatibility #8

Merged
merged 1 commit into from
Jan 16, 2019
Merged

add windows compatibility #8

merged 1 commit into from
Jan 16, 2019

Conversation

Atrox
Copy link
Contributor

@Atrox Atrox commented Jan 16, 2019

There is no /tmp on windows. Go will use the OS specific temporary directory if we pass no specific directory to ioutil.TempDir

@cplee
Copy link
Contributor

cplee commented Jan 16, 2019

@Atrox makes sense, thanks! Problem is, this change will break macOS. I had to explicitly add /tmp because on macOS my TMPDIR is something like /var/folders/xh/7yly4s4d2psd5wfztxrcps6r0000gn/T/ which is not allowed in Docker for shared volumes. Any opinions on how to work around that?

@cplee cplee merged commit 454b219 into nektos:master Jan 16, 2019
@Atrox
Copy link
Contributor Author

Atrox commented Jan 16, 2019

Ouh, did you fix the macOS related issue? This is new too me...

@cplee
Copy link
Contributor

cplee commented Jan 16, 2019

your fix worked fine...i was mistaken. thank you!

makrsmark pushed a commit to makrsmark/act that referenced this pull request Aug 3, 2023
as title.

Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>

Co-authored-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
Reviewed-on: https://gitea.com/gitea/act/pulls/8
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
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 this pull request may close these issues.

2 participants