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

New Crowdin updates (#25) #112

New Crowdin updates (#25)

New Crowdin updates (#25) #112

Workflow file for this run

name: Android CI
on:
push:
branches: [ main ]
paths-ignore:
- 'README.md'
- 'README_EN.md'
- 'LICENSE'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Cache Gradle Dependencies
uses: actions/cache@v4
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@v4
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@v4
with:
name: Update-Release
path: "app/build/outputs/apk/release/*.apk"
compression-level: 9
- name: Upload Debug APK
uses: actions/upload-artifact@v4
with:
name: Updater-Debug
path: "app/build/outputs/apk/debug/*.apk"
compression-level: 9