Initialize with override content
This commit is contained in:
48
action.yml
Normal file
48
action.yml
Normal file
@@ -0,0 +1,48 @@
|
||||
name: 'Cache (No-Op for Gitea)'
|
||||
description: 'No-op cache action for Gitea - automatically skips caching operations'
|
||||
author: 'actions-mirror'
|
||||
|
||||
inputs:
|
||||
path:
|
||||
description: 'A list of files, directories, and wildcard patterns to cache and restore'
|
||||
required: false
|
||||
key:
|
||||
description: 'An explicit key for restoring and saving the cache'
|
||||
required: false
|
||||
restore-keys:
|
||||
description: 'An ordered list of keys to use for restoring stale cache if no cache hit occurred for key'
|
||||
required: false
|
||||
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 or restore caches that can be restored or saved respectively on other platforms'
|
||||
required: false
|
||||
default: 'false'
|
||||
fail-on-cache-miss:
|
||||
description: 'Fail the workflow if cache entry is not found'
|
||||
required: false
|
||||
default: 'false'
|
||||
lookup-only:
|
||||
description: 'Check if a cache entry exists for the given input(s) without downloading the cache'
|
||||
required: false
|
||||
default: 'false'
|
||||
save-always:
|
||||
description: 'Run the post step to save the cache even if another step before fails'
|
||||
required: false
|
||||
default: 'false'
|
||||
|
||||
outputs:
|
||||
cache-hit:
|
||||
description: 'A boolean value to indicate an exact match was found for the primary key'
|
||||
value: 'false'
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
- name: Cache operation skipped
|
||||
shell: bash
|
||||
run: |
|
||||
echo "ℹ️ Cache action skipped on Gitea (using no-op override)"
|
||||
echo " Path: ${{ inputs.path }}"
|
||||
echo " Key: ${{ inputs.key }}"
|
||||
Reference in New Issue
Block a user