Upload files to "/"

This commit is contained in:
2026-04-09 16:43:15 +03:30
parent c65ae399e4
commit 542cc932a9
+8 -23
View File
@@ -1,38 +1,23 @@
name: 'Restore Cache' name: 'Save a cache'
description: 'Restore Cache artifacts like dependencies and build outputs to improve workflow execution time' description: 'Save Cache artifacts like dependencies and build outputs to improve workflow execution time'
author: 'GitHub' author: 'GitHub'
inputs: inputs:
path: path:
description: 'A list of files, directories, and wildcard patterns to restore' description: 'A list of files, directories, and wildcard patterns to cache'
required: true required: true
key: key:
description: 'An explicit key for restoring the cache' description: 'An explicit key for saving the cache'
required: true required: true
restore-keys: upload-chunk-size:
description: 'An ordered list of keys to use for restoring stale cache if no cache hit occurred for key. Note `cache-hit` returns false in this case.' description: 'The chunk size used to split up large files during upload, in bytes'
required: false required: false
enableCrossOsArchive: enableCrossOsArchive:
description: 'An optional boolean when enabled, allows windows runners to restore caches that were saved on other platforms' description: 'An optional boolean when enabled, allows windows runners to save caches that can be restored on other platforms'
default: 'false' default: 'false'
required: false required: false
fail-on-cache-miss:
description: 'Fail the workflow if cache entry is not found'
default: 'false'
required: false
lookup-only:
description: 'Check if a cache entry exists for the given input(s) (key, restore-keys) without downloading the cache'
default: 'false'
required: false
outputs:
cache-hit:
description: 'A boolean value to indicate an exact match was found for the primary key'
cache-primary-key:
description: 'A resolved cache key for which cache match was attempted'
cache-matched-key:
description: 'Key of the cache that was restored, it could either be the primary key on cache-hit or a partial/complete match of one of the restore keys'
runs: runs:
using: 'node16' using: 'node16'
main: '../dist/restore-only/index.js' main: '../dist/save-only/index.js'
branding: branding:
icon: 'archive' icon: 'archive'
color: 'gray-dark' color: 'gray-dark'