-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Setting up dart on a self hosted runner using tool cache not working as expected #35
Comments
The issue seems to be related to the unzip command in this line: Line 80 in ade92c2
A possible solution would be to pass |
@hauketoenjes did you confirm that the |
Hi, apologies for the delayed response. It seems like a pull request isn't needed anymore? #44 is exactly what I did 👍🏼. |
Yeah, I was doing another change so added in your suggested change. Thanks for the pointer! |
This is now fixed in the main channel; @jpelgrim, @hauketoenjes could you give |
Issue dart-lang/setup-dart#35 has been resolved
I just tested it and it works. https://github.com/hauketoenjes/ov_epaper/runs/3838370359 (Don't mind the Duration that action ran, since it ran on a Raspberry Pi for testing purposes) |
Thanks! Now available in |
We are in the process of migrating from GitHub's
macos-latest
runners to self hosted runners running on Mac Minis. When we use thedart-lang/setup-dart
action now, the first run is fine, but from the second and onwards runs we run into the following issue.TL;DR How do we use the
dart-lang/setup-dart
properly, in combination with the tool cache and caching multiple dart versions. Maybe as a workaround we can just answeryes
instead ofNULL
on thereplace /Users/runner/actions-runner/_work/_tool/dart-sdk/bin/dart?
question?More detail
I see this in
setup.sh
Unzipping
dartsdk.zip
into theRUNNER_TOOL_CACHE
directoryThen appending to the
GITHUB_PATH
So this action is not doing anything with versioning or checking if the requested version is already installed, like we see done in flutter for example
Anybody else running into this?
Update: The https://github.com/cedx/setup-dart action doesn't have this issue, so reverting to that for now.
The text was updated successfully, but these errors were encountered: