CI: Add a cache for the IANA time zone database files

This commit is contained in:
Timothy Flynn
2021-12-22 16:43:05 -05:00
committed by Linus Groh
parent 8669b25cea
commit 41f4a5050c
Notes: sideshowbarker 2024-07-17 21:26:51 +09:00
5 changed files with 26 additions and 5 deletions

View File

@@ -65,9 +65,17 @@ jobs:
- name: Create build directory
run: |
mkdir -p libjs-test262/Build/TZDB
mkdir -p libjs-test262/Build/UCD
mkdir -p libjs-test262/Build/CLDR
- name: TimeZoneData cache
# TODO: Change the version to the released version when https://github.com/actions/cache/pull/489 (or 571) is merged.
uses: actions/cache@03e00da99d75a2204924908e1cca7902cafce66b
with:
path: ${{ github.workspace }}/libjs-test262/Build/TZDB
key: TimeZoneData-${{ hashFiles('Meta/CMake/time_zone_data.cmake') }}
- name: UnicodeData cache
# TODO: Change the version to the released version when https://github.com/actions/cache/pull/489 (or 571) is merged.
uses: actions/cache@03e00da99d75a2204924908e1cca7902cafce66b