Skip to content

Commit 8bec21e

Browse files
committed
Do not execute dump task if chache was hit
1 parent ebf07e7 commit 8bec21e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/unicode-dump.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ jobs:
2020
with:
2121
gradle-version: wrapper
2222
- name: Cache unicode data
23+
id: cache
2324
uses: actions/cache@v4
2425
with:
2526
path: unicode_dump
2627
key: unicode-dump-${{ hashFiles('unicode_dump/*') }}
2728
restore-keys: |
2829
unicode-dump-
2930
- name: Build
31+
if: ${{ !steps.cache.outputs.cache-hit }}
3032
run: ./gradlew :json-schema-validator:dumpCharacterData

0 commit comments

Comments
 (0)