Fix ci cache

This commit is contained in:
世界 2021-06-26 07:35:16 +08:00
parent 067fe3c18a
commit 865248a9e7
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
2 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ jobs:
with: with:
path: | path: |
TMessagesProj/jni/ffmpeg/build TMessagesProj/jni/ffmpeg/build
key: ${{ hashFiles('ffmpeg_status') }} key: ${{ hashFiles('ffmpeg_status', 'TMessagesProj/jni/*_ffmpeg.sh') }}
- name: Setup Android SDK Tools - name: Setup Android SDK Tools
uses: android-actions/setup-android@v2 uses: android-actions/setup-android@v2
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
@ -107,7 +107,7 @@ jobs:
with: with:
path: | path: |
TMessagesProj/jni/ffmpeg/build TMessagesProj/jni/ffmpeg/build
key: ${{ hashFiles('ffmpeg_status') }} key: ${{ hashFiles('ffmpeg_status', 'TMessagesProj/jni/*_ffmpeg.sh') }}
- name: BoringSSL Cache - name: BoringSSL Cache
uses: actions/cache@v2 uses: actions/cache@v2
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'

View File

@ -40,7 +40,7 @@ jobs:
with: with:
path: | path: |
TMessagesProj/jni/ffmpeg/build TMessagesProj/jni/ffmpeg/build
key: ${{ hashFiles('ffmpeg_status') }} key: ${{ hashFiles('ffmpeg_status', 'TMessagesProj/jni/*_ffmpeg.sh') }}
- name: Setup Android SDK Tools - name: Setup Android SDK Tools
uses: android-actions/setup-android@v2 uses: android-actions/setup-android@v2
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
@ -121,7 +121,7 @@ jobs:
with: with:
path: | path: |
TMessagesProj/jni/ffmpeg/build TMessagesProj/jni/ffmpeg/build
key: ${{ hashFiles('ffmpeg_status') }} key: ${{ hashFiles('ffmpeg_status', 'TMessagesProj/jni/*_ffmpeg.sh') }}
- name: BoringSSL Cache - name: BoringSSL Cache
uses: actions/cache@v2 uses: actions/cache@v2
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'