From c11636251ee127d39edc4f872b86727ff1574bff Mon Sep 17 00:00:00 2001 From: Mogyuchi Date: Thu, 16 May 2024 00:51:40 +0900 Subject: [PATCH] ci: test --- .github/workflows/renovate.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 444223733..cdfad39ec 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -56,6 +56,8 @@ jobs: - run: tree $cache_dir continue-on-error: true + - run: mkdir -p /tmp/old-cache && cp ${{ env.cache_dir }}/github/4m-mazi/gh-test.json /tmp/old-cache/gh-test.json + - run: sudo chown -R runneradmin:root /tmp/renovate/ continue-on-error: true @@ -90,3 +92,16 @@ jobs: key: ${{ steps.restore-cache.outputs.cache-primary-key }} path: ${{ env.cache_dir }} + - run: echo "$(sha256sum ${{ env.cache_dir }}/github/4m-mazi/gh-test.json)" >> $GITHUB_STEP_SUMMARY + + - run: | + echo " + \`\`\`console + `diff ${{ env.cache_dir }}/github/4m-mazi/gh-test.json /tmp/old-cache/gh-test.json` + \`\`\`" >> $GITHUB_STEP_SUMMARY + + - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 + if: github.event.inputs.repoCache != 'disabled' + with: + name: ${{ env.cache_key }} + path: ${{ env.cache_dir }}/github/4m-mazi/gh-test.json