Skip to content
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

Fix detection of Gradle User Home on macOS runners #156

Merged
merged 3 commits into from
Feb 3, 2022
Merged

Conversation

bigdaz
Copy link
Member

@bigdaz bigdaz commented Feb 3, 2022

No description provided.

MacOS runners are initialized with a Gradle User Home directory including
the `~/.gradle/notifications` directory. This was causing the action to skip
restoring the Gradle User Home on MacOS.

This fix limits the pre-existing GUH check to the `~/.gradle/caches` directory
which isn't pre-initialized in the runner.

Fixes #155
@bigdaz bigdaz merged commit 937999e into main Feb 3, 2022
@bigdaz bigdaz deleted the test-macos branch February 3, 2022 17:08
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant