-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MultiCI: Abstract Github Action cache access behind type #21
base: kevin/abstract-gha/abstract-exec
Are you sure you want to change the base?
MultiCI: Abstract Github Action cache access behind type #21
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
7dea2ba
to
ae9ebde
Compare
790b0bc
to
d5de794
Compare
} | ||
|
||
async restoreCache(paths: string[], primaryKey: string, restoreKeys?: string[], options?: RemoteCacheDownloadOptions): Promise<GradleEnvCacheEntry | undefined> { | ||
for (const key in [primaryKey, ...(restoreKeys ?? [])]) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Admittedly, this is a pretty reasonable code implementation if we swapped out the direct file read/write for use in a non-gh-action world.
ae9ebde
to
8b6a14f
Compare
d5de794
to
05652f8
Compare
8b6a14f
to
e51a1a8
Compare
751d4d0
to
d303a37
Compare
e51a1a8
to
02206f4
Compare
d303a37
to
7049568
Compare
There is no functional changes present, access is moved behind class instead.
This reverts commit 751d4d0.
02206f4
to
3c45f8f
Compare
7049568
to
b5b36e4
Compare
There is no functional changes present, access is moved behind small wrapper class to provide a simple abstraction to be replaced.
Currently, we implement this in terms of
Github Actions
-- for obvious reasons. In the future, this enables implementation in other, non-Github CI environments.Part of gradle#502.