Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed May 15, 2024
1 parent 6edcff2 commit c116362
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

0 comments on commit c116362

Please sign in to comment.