mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-05 05:47:48 +02:00
Merge branch 'main' of https://github.com/kotewar/cache
This commit is contained in:
commit
ff69bd874c
2 changed files with 17 additions and 1 deletions
|
@ -15,6 +15,14 @@ inputs:
|
|||
upload-chunk-size:
|
||||
description: 'The chunk size used to split up large files during upload, in bytes'
|
||||
required: false
|
||||
skip-save:
|
||||
description: 'To save cache after the build or not'
|
||||
required: false
|
||||
default: 'no'
|
||||
skip-restore:
|
||||
description: 'To restore cache before the build or not'
|
||||
required: false
|
||||
default: 'no'
|
||||
outputs:
|
||||
cache-hit:
|
||||
description: 'A boolean value to indicate an exact match was found for the primary key'
|
||||
|
|
|
@ -14,12 +14,20 @@ inputs:
|
|||
upload-chunk-size:
|
||||
description: 'The chunk size used to split up large files during upload, in bytes'
|
||||
required: false
|
||||
skip-save:
|
||||
description: 'To save cache after the build or not'
|
||||
required: false
|
||||
default: 'no'
|
||||
skip-restore:
|
||||
description: 'To restore cache before the build or not'
|
||||
required: false
|
||||
default: 'no'
|
||||
outputs:
|
||||
cache-hit:
|
||||
description: 'A boolean value to indicate an exact match was found for the primary key'
|
||||
runs:
|
||||
using: 'node16'
|
||||
main: 'dist/save/index.js'
|
||||
main: '../dist/save/index.js'
|
||||
branding:
|
||||
icon: 'archive'
|
||||
color: 'gray-dark'
|
||||
|
|
Loading…
Add table
Reference in a new issue