From 79d62c2f201c84a7b54428823d2e37e17961d5f7 Mon Sep 17 00:00:00 2001 From: opencode Date: Wed, 24 Jun 2026 10:16:03 +0000 Subject: [PATCH] Add typings for actions/cache@v6 --- typings/actions/cache/metadata.yml | 1 + typings/actions/cache/v6/action-types.yml | 27 +++++++++++++++++++ .../actions/cache/v6/restore/action-types.yml | 27 +++++++++++++++++++ .../actions/cache/v6/save/action-types.yml | 13 +++++++++ 4 files changed, 68 insertions(+) create mode 100644 typings/actions/cache/v6/action-types.yml create mode 100644 typings/actions/cache/v6/restore/action-types.yml create mode 100644 typings/actions/cache/v6/save/action-types.yml diff --git a/typings/actions/cache/metadata.yml b/typings/actions/cache/metadata.yml index 044fafe..4ef1a56 100644 --- a/typings/actions/cache/metadata.yml +++ b/typings/actions/cache/metadata.yml @@ -3,3 +3,4 @@ - "v3" - "v4" - "v5" +- "v6" diff --git a/typings/actions/cache/v6/action-types.yml b/typings/actions/cache/v6/action-types.yml new file mode 100644 index 0000000..dbdddf1 --- /dev/null +++ b/typings/actions/cache/v6/action-types.yml @@ -0,0 +1,27 @@ +# See https://github.com/typesafegithub/github-actions-typing +inputs: + path: + type: list + separator: "\n" + list-item: + type: string + key: + type: string + restore-keys: + type: list + separator: "\n" + list-item: + type: string + upload-chunk-size: + type: integer + enableCrossOsArchive: + type: boolean + fail-on-cache-miss: + type: boolean + lookup-only: + type: boolean + save-always: + type: boolean +outputs: + cache-hit: + type: boolean diff --git a/typings/actions/cache/v6/restore/action-types.yml b/typings/actions/cache/v6/restore/action-types.yml new file mode 100644 index 0000000..a073607 --- /dev/null +++ b/typings/actions/cache/v6/restore/action-types.yml @@ -0,0 +1,27 @@ +# See https://github.com/typesafegithub/github-actions-typing +inputs: + path: + type: list + separator: "\n" + list-item: + type: string + key: + type: string + restore-keys: + type: list + separator: "\n" + list-item: + type: string + enableCrossOsArchive: + type: boolean + fail-on-cache-miss: + type: boolean + lookup-only: + type: boolean +outputs: + cache-hit: + type: boolean + cache-primary-key: + type: string + cache-matched-key: + type: string diff --git a/typings/actions/cache/v6/save/action-types.yml b/typings/actions/cache/v6/save/action-types.yml new file mode 100644 index 0000000..ae5fb72 --- /dev/null +++ b/typings/actions/cache/v6/save/action-types.yml @@ -0,0 +1,13 @@ +# See https://github.com/typesafegithub/github-actions-typing +inputs: + path: + type: list + separator: "\n" + list-item: + type: string + key: + type: string + upload-chunk-size: + type: integer + enableCrossOsArchive: + type: boolean