mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #2424] Act attemps to run bash script on Windows #1116
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#1116
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 @WilliamKarolDiCioccio on GitHub (Aug 17, 2024).
Original GitHub issue: https://github.com/nektos/act/issues/2424
Bug report info
Command used with act
Describe issue
When running a GitHub Actions workflow locally on a self-hosted Windows runner, the job fails when trying to execute a bash script. The error occurs during the "Main Make setup script executable" step, where Act attempts to run a bash script (1-composite-0.sh) failing with the error: /bin/bash: C:/Users/***/.cache/act/efeceb5f729089c8/act/workflow/1-composite-0.sh: No such file or directory.
Link to GitHub repository
https://github.com/WilliamKarolDiCioccio/open_local_ui
Workflow content
Relevant log output
Additional information
No response
@ChristopherHX commented on GitHub (Aug 17, 2024):
Please tell them that you don't agree about their usage of bash
github.com/subosito/flutter-action@44ac965b96/action.yaml (L78)Either don't use the flutter-action or modify
PATHto prefer mingw, git or cygwin bash.Keep in mind that a windows bash.exe must be before system32 in your path before running act
@WilliamKarolDiCioccio commented on GitHub (Aug 17, 2024):
Thanks @ChristopherHX. I'll opt for your proposed solution for now. Maybe I'll open an issue on their repo or fork it. It think we can close this then 👍