mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-21 09:48:30 +00:00
Don't cache NDK
This commit is contained in:
parent
de2306bd12
commit
69fa7f238d
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -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:
|
|||||||
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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user