mirror of
https://github.com/Vita3K/Vita3K.git
synced 2026-11-17 19:35:15 +01:00
ci: update andorid build/ci
This commit is contained in:
1 parent
c93dcb7ee1
commit
9dddc4e784
9 files changed
+92
-72
No files matched your search
@@ -237,13 +237,21 @@ jobs:
|
||||
restore-keys: |
|
||||
cache-android-native-
|
||||
|
||||
- name: Restore Gradle cache
|
||||
uses: actions/cache@v5
|
||||
- name: Set up Java
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
path: ~/.gradle/
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('android/**/*.gradle', 'android/**/*.properties', 'android/**/*.xml', 'android/**/*.java', 'android/**/*.kt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
distribution: temurin
|
||||
java-version: '17'
|
||||
|
||||
- name: Set up Gradle
|
||||
uses: gradle/actions/setup-gradle@v6
|
||||
with:
|
||||
add-job-summary: on-failure
|
||||
cache-provider: basic
|
||||
validate-wrappers: false
|
||||
|
||||
- name: Set up Android SDK tools
|
||||
uses: android-actions/setup-android@v4
|
||||
|
||||
- name: Set up Android build environment
|
||||
env:
|
||||
@@ -273,10 +281,13 @@ jobs:
|
||||
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
|
||||
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
|
||||
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
|
||||
JVM_OPTS: -Xmx6G
|
||||
VCPKG_ROOT: /usr/local/share/vcpkg
|
||||
ANDROID_NDK_HOME: ${{ env.ANDROID_NDK_HOME }}
|
||||
run: bash ./.ci/build-android.sh "${{ env.ARTIFACT_DIR }}"
|
||||
|
||||
- name: Print Android ccache statistics
|
||||
run: ccache -s
|
||||
|
||||
- name: Upload Android artifact
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user