subosito / flutter-action

Flutter environment for use in GitHub Actions. It works on Linux, Windows, and macOS.
MIT License
2.16k stars 193 forks source link

Action fails on self-hosted windows runner #239

Closed bekaIva closed 11 months ago

bekaIva commented 11 months ago

image It appears that the slashes are missing from the path, which is causing the issue and the file actually is created at the path C:\Users\bivan\Documents\GithubRunner\actions-runner\_work\_temp\a579c70d-dabb-4a34-8ce1-7c0035cc07fd.sh

bekaIva commented 11 months ago

I set my environment variables to use git bash instead of wsl and now it works. Problem was in echo "$RUNNER_OS"

prinkeeras commented 9 months ago

How did you fix this?