From a16e16853f92497285305fcaa1c7477c9819c5af Mon Sep 17 00:00:00 2001 From: iTrooz Date: Thu, 1 Jan 2026 02:08:01 +0100 Subject: [PATCH] ci: add workflow to manually download cache key --- .github/workflows/dl-cache.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/dl-cache.yml diff --git a/.github/workflows/dl-cache.yml b/.github/workflows/dl-cache.yml new file mode 100644 index 000000000..7215c12c1 --- /dev/null +++ b/.github/workflows/dl-cache.yml @@ -0,0 +1,29 @@ +# See https://github.com/cli/cli/issues/9125 +name: Download cache key + +on: + workflow_dispatch: + inputs: + cache_key: + description: 'Cache key' + required: true + type: string + +jobs: + cache-upload: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Cache dependencies + uses: actions/cache@v4 + with: + path: ./cache-folder + key: ${{ github.event.inputs.cache_key }} + + - name: Upload cached folder as artifact + uses: actions/upload-artifact@v4 + with: + name: cache-artifact + path: ./cache-folder \ No newline at end of file