This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
chore: update repo link in AboutScreen #53
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: Create Debug Apk | |
on: | |
push: | |
paths-ignore: | |
- "README*.md" | |
- "app/src/main/res/**" | |
- ".github/**" | |
pull_request: | |
paths-ignore: | |
- "README*.md" | |
- "app/src/main/res/**" | |
- ".github/**" | |
jobs: | |
debug-builds: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Setup JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
cache: "gradle" | |
- name: Build APK | |
run: bash ./gradlew assembleDebug --stacktrace | |
- name: Sign Apk | |
continue-on-error: true | |
id: sign_apk | |
uses: ilharp/sign-android-release@v1 | |
with: | |
releaseDir: app/build/outputs/apk/debug | |
signingKey: ${{ secrets.ANDROID_SIGNING_KEY }} | |
keyAlias: ${{ secrets.ANDROID_KEY_ALIAS }} | |
keyStorePassword: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }} | |
keyPassword: ${{ secrets.ANDROID_KEY_PASSWORD }} | |
- name: Remove file that aren't signed | |
continue-on-error: true | |
run: | | |
ls | grep 'signed\.apk$' && find . -type f -name '*.apk' ! -name '*-signed.apk' -delete | |
- name: Upload APK | |
uses: actions/upload-artifact@v3 | |
with: | |
name: app | |
path: app/build/outputs/apk/debug/*.apk |