Commit ea987707 authored by Jerome Wu's avatar Jerome Wu

Update workflow cache key

parent 82552d3d
...@@ -10,7 +10,7 @@ on: ...@@ -10,7 +10,7 @@ on:
env: env:
FFMPEG_ST: no FFMPEG_ST: no
DIST_PATH: wasm/packages/core/dist DIST_PATH: wasm/packages/core/dist
CACHE_KEY_PREFIX: ffmpeg.wasm-core-$GITHUB_RUN_ID CACHE_KEY_PREFIX: ffmpeg.wasm-core
# EM_VERSION: 2.0.8 # EM_VERSION: 2.0.8
# EM_CACHE_FOLDER: 'emsdk-cache' # EM_CACHE_FOLDER: 'emsdk-cache'
...@@ -47,9 +47,9 @@ jobs: ...@@ -47,9 +47,9 @@ jobs:
path: | path: |
build build
wasm/cache wasm/cache
key: ${{ env.CACHE_KEY_PREFIX }}-${{ matrix.script }} key: ${{ env.CACHE_KEY_PREFIX }}-${{ env.GITHUB_RUN_ID }}-${{ matrix.script }}
restore-keys: | restore-keys: |
${{ env.CACHE_KEY_PREFIX }}- ${{ env.CACHE_KEY_PREFIX }}-${{ env.GITHUB_RUN_ID }}-
- name: List cached libs - name: List cached libs
run: ls build/lib || true run: ls build/lib || true
- name: Build FFMpeg Libs - name: Build FFMpeg Libs
...@@ -67,9 +67,9 @@ jobs: ...@@ -67,9 +67,9 @@ jobs:
path: | path: |
build build
wasm/cache wasm/cache
key: ${{ env.CACHE_KEY_PREFIX }}-ffmpeg key: ${{ env.CACHE_KEY_PREFIX }}-${{ env.GITHUB_RUN_ID }}-ffmpeg
restore-keys: | restore-keys: |
${{ env.CACHE_KEY_PREFIX }}- ${{ env.CACHE_KEY_PREFIX }}-${{ env.GITHUB_RUN_ID }}-
- name: List cached libs - name: List cached libs
run: ls build/lib || true run: ls build/lib || true
- name: Build FFMpeg - name: Build FFMpeg
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment