Open
Description
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.