Add vgpu cache

This commit is contained in:
ArtDev
2021-08-17 12:41:07 +03:00
committed by GitHub
parent cc47b3461d
commit 87f84c0842

View File

@@ -64,7 +64,19 @@ jobs:
git add .
git commit -am "CI: Update gl4es"
git push
- name: Get vgpu latest commit hash
id: vgpu-sha
run: echo "::set-output name=sha::$(echo $(git ls-remote https://github.com/luo9674/VGPU refs/heads/main | grep -io '^\S*'))"
shell: bash
- name: Cache vgpu
uses: actions/cache@v2
id: vgpu-cache
with:
path: vgpu/libs
key: vgpu-android-shared-${{ steps.vgpu-sha.outputs.sha }}
- name: Get vgpu
if: steps.vgpu-cache.outputs.cache-hit != 'true'
uses: actions/checkout@v2