2022-02-07 23:03:06 +05:30
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
2022-05-18 18:35:51 +05:30
|
|
|
- "README*.md"
|
|
|
|
- "fastlane/**"
|
|
|
|
- "assets/**"
|
|
|
|
- ".github/**/*.md"
|
2022-02-07 23:03:06 +05:30
|
|
|
push:
|
|
|
|
paths-ignore:
|
2022-05-18 18:35:51 +05:30
|
|
|
- "README*.md"
|
|
|
|
- "fastlane/**"
|
|
|
|
- "assets/**"
|
|
|
|
- ".github/**/*.md"
|
2022-02-07 23:03:06 +05:30
|
|
|
|
|
|
|
jobs:
|
2022-02-07 23:14:23 +05:30
|
|
|
debug-builds:
|
2022-02-07 23:03:06 +05:30
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-05-18 18:35:51 +05:30
|
|
|
- uses: actions/checkout@v3
|
2022-02-07 23:03:06 +05:30
|
|
|
- uses: gradle/wrapper-validation-action@v1
|
|
|
|
|
|
|
|
- name: set up JDK 11
|
2022-05-18 18:58:57 +05:30
|
|
|
uses: actions/setup-java@v3
|
2022-02-07 23:03:06 +05:30
|
|
|
with:
|
|
|
|
java-version: 11
|
|
|
|
distribution: "temurin"
|
2022-05-18 18:35:51 +05:30
|
|
|
cache: "gradle"
|
2022-02-07 23:03:06 +05:30
|
|
|
|
2022-06-15 20:57:59 +05:30
|
|
|
- name: Patch and Compile
|
2022-06-15 20:59:23 +05:30
|
|
|
run: |
|
|
|
|
cd .github
|
|
|
|
python patch.py
|
2022-06-15 21:00:19 +05:30
|
|
|
cd ..
|
2022-06-15 21:09:00 +05:30
|
|
|
./gradlew assembleDebug
|
2022-02-07 23:03:06 +05:30
|
|
|
|
|
|
|
- name: Upload APK
|
2022-05-18 18:59:00 +05:30
|
|
|
uses: actions/upload-artifact@v3
|
2022-02-07 23:03:06 +05:30
|
|
|
with:
|
|
|
|
name: app
|
|
|
|
path: app/build/outputs/apk/debug/*.apk
|