mirror of
https://github.com/actions/cache.git
synced 2024-11-10 06:31:07 +07:00
6fd2d4538c
* Add support to opt-in enable cross-os caching on windows * Fix tests * Address review comments and update tests * Fix tests * Address review comments * Address review comments
24 lines
776 B
YAML
24 lines
776 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
|
|
runs:
|
|
using: 'node16'
|
|
main: '../dist/save-only/index.js'
|
|
branding:
|
|
icon: 'archive'
|
|
color: 'gray-dark'
|