mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
CI: Can we cache the directory?
This commit is contained in:
parent
f99ad7f347
commit
a42954262c
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
@ -52,4 +52,19 @@ jobs:
|
|||||||
- name: 'Extract Qt'
|
- name: 'Extract Qt'
|
||||||
run: |
|
run: |
|
||||||
7z x ${{ env.QT_BASE_DIR }}\${{ env.QT_ARCHIVE_FILE }} -o${{ env.QT_BASE_DIR }}
|
7z x ${{ env.QT_BASE_DIR }}\${{ env.QT_ARCHIVE_FILE }} -o${{ env.QT_BASE_DIR }}
|
||||||
dir ${{ env.QT_BASE_DIR }}
|
dir ${{ env.QT_BASE_DIR }}
|
||||||
|
- name: 'Restore cached OBS Studio dependencies'
|
||||||
|
id: obscache
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ${{ env.DEPS_BASE_PATH }}\**
|
||||||
|
key: 'obsdep-${{ env.DEPS_CACHE_VERSION }} | ${{ runner.os }}'
|
||||||
|
restore-keys: |
|
||||||
|
obsdep-${{ env.DEPS_CACHE_VERSION }} | ${{ runner.os }}
|
||||||
|
- name: 'Download and Extract deps'
|
||||||
|
if: steps.obscache.outputs.cache-hit != 'true'
|
||||||
|
run: |
|
||||||
|
mkdir ${{ env.DEPS_BASE_PATH }}
|
||||||
|
cd D:\
|
||||||
|
curl -o dependencies.zip -kLO https://cdn-fastly.obsproject.com/downloads/dependencies2019.zip -f --retry 5 -C -
|
||||||
|
7z x dependencies.zip -o${{ env.DEPS_BASE_PATH }}
|
Loading…
Reference in New Issue
Block a user