From 6fba8cb3f221fc625015c3236d48e52b0e57ec54 Mon Sep 17 00:00:00 2001 From: actions-mirror Date: Sun, 8 Mar 2026 02:00:42 +0000 Subject: [PATCH] Initialize with override content --- README.md | 2 -- action.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 2 deletions(-) delete mode 100644 README.md create mode 100644 action.yml diff --git a/README.md b/README.md deleted file mode 100644 index 37b2323..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# cache - diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..a383488 --- /dev/null +++ b/action.yml @@ -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 }}"