3
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-23 11:55:30 +00:00

Also add "force-overwrite" option to save-only action

This commit is contained in:
PrinsFrank 2024-08-02 21:12:44 +02:00
parent b70ee8ec79
commit 0d93be3424
2 changed files with 10 additions and 4 deletions

View file

@ -15,6 +15,10 @@ inputs:
description: 'An optional boolean when enabled, allows windows runners to save caches that can be restored on other platforms'
default: 'false'
required: false
force-overwrite:
description: 'Delete any previous (incremental) cache before pushing a new cache even if a cache for the primary cache key exists'
default: 'false'
required: false
runs:
using: 'node20'
main: '../dist/save-only/index.js'