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

Add caching of downloaded actions to achieve parity with the tool cache functionality #3551

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Benjamint22
Copy link

@Benjamint22 Benjamint22 commented Nov 12, 2024

This added functionality makes the use of real time NFS tool and actions caching possible.

Actual Changes

  • add environment variable ACTIONS_RUNNER_ACTION_ARCHIVE_EXTERNAL_CACHING_ENABLED which maintains current actions caching functionality (downloads actions without caching) while allowing for external caching functionality
  • extended the functionality of actions downloads to copy to cache location if not found in cache location if the above environment variable is true
  • added workflow output to indicate that the copy took place

Authored by

@Benjamint22 Benjamint22 requested a review from a team as a code owner November 12, 2024 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant