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

Fix workflow cache

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