mirror of
https://github.com/nektos/act.git
synced 2026-04-26 17:35:49 +03:00
[GH-ISSUE #1891] Windows-latest with act error with ComSpec path #913
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#913
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hirseboy on GitHub (Jul 1, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1891
Bug report info
Command used with act
Describe issue
ComSpec path was not found
Link to GitHub repository
https://github.com/hirseboy/DWD-Weather-Data-Converter/
Workflow content
Relevant log output
Additional information
@wiktor-k commented on GitHub (Sep 13, 2023):
@hirseboy What was it? I'm getting this
Cannot find: %ComSpec% in PATHwhen using cmd shell and the only thing that pops out when doing searches is this very issue 😕️@hirseboy commented on GitHub (Sep 13, 2023):
I did not use it since I could not fix it. :(
@wiktor-k commented on GitHub (Sep 13, 2023):
Oh, okay, thanks for clarifying. I read "closed this as completed" as some kind of "it works now" :)
FTR it seems using
shell: powershellis the only working option. I tried usingcmd /kandcmd /casshelland couldn't get any output.Have a nice day! 👋
@ChristopherHX commented on GitHub (Sep 13, 2023):
Sounds like you are behind some updates / using act_runner which is also behind updates
%COMSPEC% has been removed in 0.2.50 here:
github.com/nektos/act@83140951bf@wiktor-k commented on GitHub (Sep 13, 2023):
Indeed, I'm using act_runner version 0.2.5. I'll try the nightly ASAP but one way or another it's good to know it's already fixed here. Thanks for the broader context @ChristopherHX !
(Edit: BTW the commit that you've linked also got me an idea of a workaround. Really nice, thanks again! 👋)
@ChristopherHX commented on GitHub (Sep 13, 2023):
Nah act_runner nightly is also based on a act 0.2.49 fork
You cannot compare the version numbers, also gitea/act diverges a lot in some details
@wiktor-k commented on GitHub (Sep 13, 2023):
Ah, that's too bad. Overall I'm satisfied with act_runner, but I'd rather like it to be closer to the original (act). Gitea runner that exposes all OSes just like Github does is something I'm trying to replicate.
Thanks for your time! I learned a lot from this conversation (and I hope it'll help others navigate this space too).