3
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2026-08-05 19:13:54 +00:00
cache/save/action.yml
2026-07-31 11:16:08 +02:00

29 lines
996 B
YAML

name: 'Save a cache'
description: 'Save Cache artifacts like dependencies and build outputs to improve workflow execution time'
author: 'GitHub'
inputs:
path:
description: 'A list of files, directories, and wildcard patterns to cache'
required: true
key:
description: 'An explicit key for saving the cache'
required: true
upload-chunk-size:
description: 'The chunk size used to split up large files during upload, in bytes'
required: false
enableCrossOsArchive:
description: 'An optional boolean when enabled, allows windows runners to save caches that can be restored on other platforms'
default: 'false'
required: false
post:
description: 'An optional boolean when enabled, allows the action to run after the job has completed'
default: 'false'
required: false
runs:
using: 'node24'
main: '../dist/save-only/index.js'
post: '../dist/save-only/post/index.js'
post-if: "success()"
branding:
icon: 'archive'
color: 'gray-dark'