Commit 64a3883d authored by Jerome Wu's avatar Jerome Wu

Fix workflow cache

parent 4a5af9ce
......@@ -38,15 +38,17 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Build FFMpeg Libs
run: bash build-with-docker.sh install-deps ${{ matrix.script }}
- name: Cache multiple paths
- name: Cache libs
uses: actions/cache@v2
with:
path: |
build
wasm/cache
key: ffmpeg.wasm-core
- name: List cached libs
run: ls build/lib
- name: Build FFMpeg Libs
run: bash build-with-docker.sh install-deps ${{ matrix.script }}
build-ffmpeg:
runs-on: ubuntu-latest
needs: build-libs
......@@ -54,12 +56,6 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Build FFMpeg
run: |
bash build-with-docker.sh \
install-deps \
configure-ffmpeg \
build-ffmpeg
- name: Cache multiple paths
uses: actions/cache@v2
with:
......@@ -67,6 +63,12 @@ jobs:
build
wasm/cache
key: ffmpeg.wasm-core
- name: Build FFMpeg
run: |
bash build-with-docker.sh \
install-deps \
configure-ffmpeg \
build-ffmpeg
- uses: actions/upload-artifact@master
with:
name: ffmpeg-core
......
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