Commit 69fa7f23 authored by topjohnwu's avatar topjohnwu Committed by John Wu

Don't cache NDK

parent de2306bd
...@@ -21,7 +21,7 @@ jobs: ...@@ -21,7 +21,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ ubuntu-latest, windows-latest, macOS-latest ] os: [ ubuntu-latest, windows-latest, macos-latest ]
steps: steps:
- name: Check out - name: Check out
...@@ -56,24 +56,12 @@ jobs: ...@@ -56,24 +56,12 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }} key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
restore-keys: ${{ runner.os }}-gradle- restore-keys: ${{ runner.os }}-gradle-
- name: Cache NDK
id: ndk-cache
uses: actions/cache@v2
with:
path: ${{ env.ANDROID_SDK_ROOT }}/ndk/magisk
key: ${{ runner.os }}-ndk-${{ env.MAGISK_NDK_VERSION }}
- name: Set up NDK - name: Set up NDK
if: steps.ndk-cache.outputs.cache-hit != 'true'
run: python build.py ndk run: python build.py ndk
- name: Build release - name: Build release
run: python build.py -vr all run: python build.py -vr all
- name: Refresh flag
run: touch gradle.properties
shell: bash
- name: Build debug - name: Build debug
run: python build.py -v all run: python build.py -v all
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment