Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
gha: Add checkout step
  • Loading branch information
peaceiris committed Dec 8, 2019
1 parent 3514e58 commit dbec910
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/purge-readme-image-cache.yml
Expand Up @@ -10,6 +10,10 @@ jobs:
runs-on: ubuntu-18.04
steps:

- uses: actions/checkout@v1
with:
fetch-depth: 1

- run: |
IMAGE_LIST=$(curl -sL https://github.com/${GITHUB_REPOSITORY} | \
grep -oE '<img src="https?://camo.githubusercontent.com/[^"]+' | \
Expand Down

0 comments on commit dbec910

Please sign in to comment.