Meta: Use the correct cache paths in the wasm workflow

Previously we were caching unicode data for the lagom tools, but we
should've been caching them for the actual build instead.
This commit is contained in:
Ali Mohammad Pur 2022-11-26 05:08:35 +03:30 committed by Andreas Kling
parent 617d29d2fb
commit b5301a3ea9
Notes: sideshowbarker 2024-07-17 06:39:26 +09:00

View File

@ -30,23 +30,25 @@ jobs:
- name: "Create build directories" - name: "Create build directories"
run: | run: |
mkdir -p ${{ github.workspace }}/Build/lagom-tools/TZDB mkdir -p ${{ github.workspace }}/Build/lagom-tools/TZDB
mkdir -p ${{ github.workspace }}/Build/lagom-tools/UCD mkdir -p ${{ github.workspace }}/Build/wasm/UCD
mkdir -p ${{ github.workspace }}/Build/lagom-tools/CLDR mkdir -p ${{ github.workspace }}/Build/wasm/CLDR
mkdir -p ${{ github.workspace }}/Build/wasm
- name: "TimeZoneData cache" - name: "TimeZoneData cache"
uses: actions/cache@03e00da99d75a2204924908e1cca7902cafce66b uses: actions/cache@03e00da99d75a2204924908e1cca7902cafce66b
with: with:
path: ${{ github.workspace }}/Build/lagom-tools/TZDB path: ${{ github.workspace }}/Build/lagom-tools/TZDB
key: TimeZoneData-${{ hashFiles('Meta/CMake/time_zone_data.cmake') }} key: TimeZoneData-${{ hashFiles('Meta/CMake/time_zone_data.cmake') }}
- name: "Copy over TZDB cache"
run: |
cp -r ${{ github.workspace }}/Build/lagom-tools/TZDB ${{ github.workspace }}/Build/wasm/TZDB
- name: "UnicodeData cache" - name: "UnicodeData cache"
uses: actions/cache@03e00da99d75a2204924908e1cca7902cafce66b uses: actions/cache@03e00da99d75a2204924908e1cca7902cafce66b
with: with:
path: ${{ github.workspace }}/Build/lagom-tools/UCD path: ${{ github.workspace }}/Build/wasm/UCD
key: UnicodeData-${{ hashFiles('Meta/CMake/unicode_data.cmake') }} key: UnicodeData-${{ hashFiles('Meta/CMake/unicode_data.cmake') }}
- name: "UnicodeLocale cache" - name: "UnicodeLocale cache"
uses: actions/cache@03e00da99d75a2204924908e1cca7902cafce66b uses: actions/cache@03e00da99d75a2204924908e1cca7902cafce66b
with: with:
path: ${{ github.workspace }}/Build/lagom-tools/CLDR path: ${{ github.workspace }}/Build/wasm/CLDR
key: UnicodeLocale-${{ hashFiles('Meta/CMake/locale_data.cmake') }} key: UnicodeLocale-${{ hashFiles('Meta/CMake/locale_data.cmake') }}
- name: "Build host lagom tools" - name: "Build host lagom tools"
run: | run: |