subosito / flutter-action

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

Download and unzip to temp folder and not $HOME #132

Closed kuhnroyal closed 2 years ago

kuhnroyal commented 2 years ago

Using the $HOME folder can be problematic in some constellations on private runners. $RUNNER_TEMP is the official environment variable for a runner specific temp folder.

subosito commented 2 years ago

Hi @kuhnroyal, it doesn't work on Windows, https://github.com/subosito/flutter-action/actions/runs/1794413874. Could you submit a PR to fix that? Thanks.

kuhnroyal commented 2 years ago

Can you setup the pipeline to run for a PR? :) I'll see what I can do.

subosito commented 2 years ago

Sure, I have added that in https://github.com/subosito/flutter-action/commit/b5a1c34304c44840f8dc01e1bed9130348621dd9.