subosito / flutter-action

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

Action fails on self-hosted windows runner #239

Closed bekaIva closed 1 year ago

bekaIva commented 1 year 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 1 year 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 1 year ago

How did you fix this?