mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
CI: Version our OBS build cache
When new OBS tags are released, we need to wipe the old cache to get them to work properly.
This commit is contained in:
parent
27ab3e0ea8
commit
f8abe91b83
@ -41,6 +41,7 @@ jobs:
|
||||
QT_BASE_DIR: 'D:\QtDep'
|
||||
QTDIR32: '$(QT_BASE_DIR)\5.15.2\msvc2019'
|
||||
QTDIR64: '$(QT_BASE_DIR)\5.15.2\msvc2019_64'
|
||||
OBS_CAHCE_VERSION: '1'
|
||||
OBS_PATH: 'D:\obs-studio'
|
||||
steps:
|
||||
- checkout: self
|
||||
@ -73,9 +74,9 @@ jobs:
|
||||
- task: Cache@2
|
||||
displayName: Restore cached OBS Studio builds
|
||||
inputs:
|
||||
key: 'obs | "$(Agent.OS)"'
|
||||
key: 'obs-"$(OBS_CACHE_VERSION)" | "$(Agent.OS)"'
|
||||
restoreKeys: |
|
||||
obs | "$(Agent.OS)"
|
||||
obs-"$(OBS_CACHE_VERSION)" | "$(Agent.OS)"
|
||||
path: $(OBS_PATH)
|
||||
|
||||
- script: ./CI/windows/prepare-obs-windows.cmd
|
||||
|
Loading…
x
Reference in New Issue
Block a user