mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-05 13:57:47 +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:
|
upload-chunk-size:
|
||||||
description: 'The chunk size used to split up large files during upload, in bytes'
|
description: 'The chunk size used to split up large files during upload, in bytes'
|
||||||
required: false
|
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:
|
outputs:
|
||||||
cache-hit:
|
cache-hit:
|
||||||
description: 'A boolean value to indicate an exact match was found for the primary key'
|
description: 'A boolean value to indicate an exact match was found for the primary key'
|
||||||
|
|
|
@ -14,12 +14,20 @@ inputs:
|
||||||
upload-chunk-size:
|
upload-chunk-size:
|
||||||
description: 'The chunk size used to split up large files during upload, in bytes'
|
description: 'The chunk size used to split up large files during upload, in bytes'
|
||||||
required: false
|
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:
|
outputs:
|
||||||
cache-hit:
|
cache-hit:
|
||||||
description: 'A boolean value to indicate an exact match was found for the primary key'
|
description: 'A boolean value to indicate an exact match was found for the primary key'
|
||||||
runs:
|
runs:
|
||||||
using: 'node16'
|
using: 'node16'
|
||||||
main: 'dist/save/index.js'
|
main: '../dist/save/index.js'
|
||||||
branding:
|
branding:
|
||||||
icon: 'archive'
|
icon: 'archive'
|
||||||
color: 'gray-dark'
|
color: 'gray-dark'
|
||||||
|
|
Loading…
Add table
Reference in a new issue