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

When running on Windows the correct path separator must be used #386

Merged
merged 5 commits into from
Oct 9, 2020

Conversation

taliesins
Copy link
Contributor

…Path.join is OS aware, so when we want to use forward slash use path.join instead.

on windows docker cp should end with . when copying a directory
when running npm modules we should pass in path with all forward slashes

This fixes #331

…Path.join is OS aware, so when we want to use forward slash use path.join instead.

on windows docker cp should end with \. when copying a directory
when running npm modules we should pass in path with all forward slashes

This fixes nektos#331
@taliesins taliesins requested a review from cplee as a code owner October 8, 2020 09:23
@cplee cplee merged commit 014d71a into nektos:master Oct 9, 2020
@timheuer
Copy link

timheuer commented Oct 9, 2020

yes! @nektos-ci can we push a release with this fix?

@cplee
Copy link
Contributor

cplee commented Oct 12, 2020

@timheuer - just released v0.2.16 🎉

@timheuer
Copy link

@cplee did y'all stop releasing to chocolatey? it's stuck on 0.2.9

@cplee
Copy link
Contributor

cplee commented Oct 12, 2020

@timheuer - sigh ... the chocolatey part of the build has started failing. I'm a noob with chocolately, so it will take me some time to figure out why it is failing: https://github.com/nektos/act/runs/1243421598?check_suite_focus=true

@timheuer
Copy link

Yikes, that's one heck of a log! maybe @ferventcoder can lend insight as looks like something in the docker build.

@ferventcoder
Copy link

ferventcoder commented Oct 20, 2020

From what I'm reading, it is not restoring the NuGet packages to be able to build choco. I remember that was sometimes a leader to a deeper issue but can't recall offhand what it was.

Some notes

Looks like this is attempting to build Chocolatey on Linux. We had some fixes and now support a newer Mono.

The issue was at chocolatey/choco#1827 (comment), which was completed March 25, 2020. From the package page, that doesn't really line up well with the date this stopped working (after May 2020).

Here's a couple of resources just to ensure you are building things in an appropriate manner:

Parting Thoughts

"act" as a package name can be made available - the tool that was submitted never made it to approved and was ultimately rejected. I like parity of package naming across platforms, so if you want to go that route, we can show you how to deprecate the act-cli to point to the act package as you take over that. Here's the request form - https://chocolatey.org/packages/act/3.3.3.258/ContactAdmins

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.

MODULE_NOT_FOUND on Windows 10 with Linux Containers
4 participants