Skip to content

Commit

Permalink
Do not execute dump task if chache was hit
Browse files Browse the repository at this point in the history
  • Loading branch information
OptimumCode committed Aug 3, 2024
1 parent ebf07e7 commit 8bec21e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/unicode-dump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ jobs:
with:
gradle-version: wrapper
- name: Cache unicode data
id: cache
uses: actions/cache@v4
with:
path: unicode_dump
key: unicode-dump-${{ hashFiles('unicode_dump/*') }}
restore-keys: |
unicode-dump-
- name: Build
if: ${{ !steps.cache.outputs.cache-hit }}
run: ./gradlew :json-schema-validator:dumpCharacterData

0 comments on commit 8bec21e

Please sign in to comment.