Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

app: deps: dexKit 2.0.0-rc4 #134

app: deps: dexKit 2.0.0-rc4

app: deps: dexKit 2.0.0-rc4 #134

Workflow file for this run

name: Android CI
on:
push:
branches: [ main ]
paths-ignore:
- 'README.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.0
with:
fetch-depth: 0
submodules: true
- name: Setup JDK 17
uses: actions/setup-java@v3.13.0
with:
java-version: '17'
distribution: 'adopt'
- name: Cache Gradle Dependencies
uses: actions/cache@v3.3.2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
!~/.gradle/caches/build-cache-*
key: gradle-deps-core-${{ hashFiles('**/build.gradle.kts') }}
restore-keys: gradle-deps
- name: Cache Gradle Build
uses: actions/cache@v3.3.2
with:
path: |
~/.gradle/caches/build-cache-*
~/.gradle/buildOutputCleanup/cache.properties
key: gradle-builds-core-${{ github.sha }}
restore-keys: gradle-builds
- name: Build with Gradle
run: |
echo ${{ secrets.SIGNING_KEY }} | base64 -d > keystore.jks
bash ./gradlew assemble
env:
KEYSTORE_PATH: "../keystore.jks"
KEYSTORE_PASS: ${{ secrets.KEY_STORE_PASSWORD }}
KEY_ALIAS: ${{ secrets.ALIAS }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
- name: Upload Release APK
uses: actions/upload-artifact@v3.1.3
with:
name: Miui_XXL-Release
path: "app/build/outputs/apk/release/*.apk"
- name: Upload Debug APK
uses: actions/upload-artifact@v3.1.3
with:
name: Miui_XXL-Debug
path: "app/build/outputs/apk/debug/*.apk"