diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 7131ef254..a2c082a11 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -45,7 +45,7 @@ jobs: # cache wouldn't necessarily upload when it changes. actions/download-artifact also doesn't work # because it only handles artifacts uploaded in the same run, and we want to restore from the # previous successful run. - - uses: actions/cache/restore@v4.0.2 + - uses: actions/cache@v4.0.2 id: restore-cache if: github.event.inputs.repoCache != 'disabled' continue-on-error: true @@ -55,7 +55,7 @@ jobs: - run: sudo chown -R runneradmin:root /tmp/renovate/ - - run: ls $cache_dir + - run: tree $cache_dir - name: Generate a token id: generate_token @@ -80,11 +80,5 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_REPO: ${{ github.repository }} - run: gh cache delete ${{ steps.restore-cache.outputs.cache-primary-key }} + run: gh cache delete ${{ env.cache_key }} continue-on-error: true - - uses: actions/cache/save@v4.0.2 - if: github.event.inputs.repoCache != 'disabled' - with: - key: ${{ steps.restore-cache.outputs.cache-primary-key }} - path: ${{ env.cache_dir }} -