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

Allow to configure cache scope #726

Open
ale5000-git opened this issue Jan 19, 2025 · 1 comment
Open

Allow to configure cache scope #726

ale5000-git opened this issue Jan 19, 2025 · 1 comment
Labels
feature request New feature or request to improve the current logic

Comments

@ale5000-git
Copy link

Description:
Please allow to configure cache scope, example:

      - name: "Setup Java"
        uses: actions/setup-java@v4
        with:
          distribution: "temurin"
          java-version: "17"
          cache: "gradle"
          cache-from: type=gha,scope=global
          cache-to: type=gha,mode=max,scope=global

Justification:
I have a workflow that run only on tags, without specifying scope the cache is never restored since every tag have a separate cache.

@ale5000-git ale5000-git added feature request New feature or request to improve the current logic needs triage labels Jan 19, 2025
@priya-kinthali
Copy link

Hello @ale5000-git 👋,
Thank you for this feature request. We will investigate it and get back to you as soon as we have some feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic
Projects
None yet
Development

No branches or pull requests

2 participants