From a40ac47a6242da03d69baffb1abad4fba3d08a38 Mon Sep 17 00:00:00 2001 From: Mogyuchi Date: Wed, 15 May 2024 23:09:14 +0900 Subject: [PATCH] ci: test --- .github/workflows/renovate.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 97f10529d..b1103337e 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -74,10 +74,15 @@ jobs: RENOVATE_AUTODISCOVER: true RENOVATE_AUTODISCOVER_FILTER: "${{ github.repository }}" - - id: hash - run: echo "hash=$(find ${{ env.cache_dir }} -type f -print0 | sort -z | xargs -0 sha256sum | sha256sum)" >> "$GITHUB_OUTPUT" + - name: delete old key + continue-on-error: true + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_REPO: ${{ github.repository }} + run: gh cache delete ${{ steps.restore-cache.outputs.cache-primary-key }} - uses: actions/cache/save@v4.0.2 if: github.event.inputs.repoCache != 'disabled' with: - key: ${{ steps.restore-cache.outputs.cache-primary-key }}-${{ steps.hash.outputs.hash }} + key: ${{ steps.restore-cache.outputs.cache-primary-key }} path: ${{ env.cache_dir }} +