mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-12-23 12:36:01 +01:00
23 lines
768 B
YAML
23 lines
768 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 to enable saving a cache on Windows which may be restored later on another platform'
|
|
default: 'false'
|
|
required: false
|
|
runs:
|
|
using: 'node16'
|
|
main: '../dist/save-only/index.js'
|
|
branding:
|
|
icon: 'archive'
|
|
color: 'gray-dark'
|