@ -90,6 +90,7 @@ If you are using a `self-hosted` Windows runner, `GNU tar` and `zstd` are requir
* `enableCrossOsArchive` - An optional boolean when enabled, allows Windows runners to save or restore caches that can be restored or saved respectively on other platforms. Default: `false`
* `fail-on-cache-miss` - Fail the workflow if cache entry is not found. Default: `false`
* `lookup-only` - If true, only checks if cache entry exists and skips download. Does not change save cache behavior. Default: `false`
* `restore-only` - If true, only restores cache and skips save cache behavior. Default: `false`. Set it to `${{ github.event.repository != null && github.ref_name != github.event.repository.default_branch }}` to only save the cache when running on the default branch.
Inputs["LookupOnly"]="lookup-only";// Input for cache, restore action
Inputs["LookupOnly"]="lookup-only";
Inputs["RestoreOnly"]="restore-only";// Input for cache, restore action
})(Inputs||(exports.Inputs=Inputs={}));
varOutputs;
(function(Outputs){
@ -46401,6 +46402,10 @@ function saveImpl(stateProvider) {
utils.logWarning(`Event Validation Error: The event type ${process.env[constants_1.Events.Key]} is not supported because it's not tied to a branch or tag ref.`);
Inputs["LookupOnly"]="lookup-only";// Input for cache, restore action
Inputs["LookupOnly"]="lookup-only";
Inputs["RestoreOnly"]="restore-only";// Input for cache, restore action
})(Inputs||(exports.Inputs=Inputs={}));
varOutputs;
(function(Outputs){
@ -46401,6 +46402,10 @@ function saveImpl(stateProvider) {
utils.logWarning(`Event Validation Error: The event type ${process.env[constants_1.Events.Key]} is not supported because it's not tied to a branch or tag ref.`);