Consider using tool-cache #36

Open
opened 2023-07-17 17:28:18 +00:00 by Hoverbear · 0 comments
Hoverbear commented 2023-07-17 17:28:18 +00:00 (Migrated from github.com)

We may be able to use https://github.com/actions/toolkit/tree/main/packages/tool-cache to use some github smart caching and simplify some code.

Currently the issue is that we can't easily know when to cachebust, since the action typically gets the latest installer. Unfortunately the tool cache doesn't seem to have expiry settings, so it's hard to properly judge when the user should get a new nix-installer binary.

We may be able to use https://github.com/actions/toolkit/tree/main/packages/tool-cache to use some github smart caching and simplify some code. Currently the issue is that we can't easily know when to cachebust, since the action typically gets the latest installer. Unfortunately the tool cache doesn't seem to have expiry settings, so it's hard to properly judge when the user should get a new nix-installer binary.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix-install-action#36
No description provided.