This repository has been archived by the owner on Jan 20, 2024. It is now read-only.
build(deps): bump org.jetbrains.kotlin.android from 1.9.21 to 1.9.22 … #171
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android CI | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- 'README.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
submodules: true | |
- name: Setup JDK 17 | |
uses: actions/[email protected] | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Cache Gradle Dependencies | |
uses: actions/[email protected] | |
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/[email protected] | |
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/[email protected] | |
with: | |
name: HyperOS_XXL-Release | |
path: "app/build/outputs/apk/release/*.apk" | |
- name: Upload Debug APK | |
uses: actions/[email protected] | |
with: | |
name: HyperOS_XXL-Debug | |
path: "app/build/outputs/apk/debug/*.apk" |