fix(renovate): chown due to cache

This commit is contained in:
JJGadgets
2024-12-06 16:10:30 +08:00
parent c16f6405a6
commit 7800a259b4

View File

@@ -71,8 +71,18 @@ jobs:
with:
token: "${{ steps.oauth-token.outputs.token }}"
- name: Renovate Cache
id: renovate-cache
uses: actions/cache@v4
if: github.event.inputs.cache != 'disabled'
continue-on-error: true
with:
path: "${{ env.GH_CACHE_DIR }}"
key: "renovate-cache-${{ runner.os }}-${{ github.run_id }}"
restore-keys: |
renovate-cache-${{ runner.os }}
- name: Glue
uses: renovatebot/github-action@936628dfbff213ab2eb95033c5e123cfcaf09ebb # v41.0.5
shell: bash
run: |
# Override default config from dispatch variables
@@ -86,17 +96,6 @@ jobs:
id
chown -R $(id -u):$(id -g) /tmp/renovate
- name: Renovate Cache
id: renovate-cache
uses: actions/cache@v4
if: github.event.inputs.cache != 'disabled'
continue-on-error: true
with:
path: "${{ env.GH_CACHE_DIR }}"
key: "renovate-cache-${{ runner.os }}-${{ github.run_id }}"
restore-keys: |
renovate-cache-${{ runner.os }}
- name: Renovate
uses: renovatebot/github-action@936628dfbff213ab2eb95033c5e123cfcaf09ebb # v41.0.5
with: