mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-21 18:17:07 -04:00
Add vgpu cache
This commit is contained in:
14
.github/workflows/android.yml
vendored
14
.github/workflows/android.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user