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

Commit

Permalink
chore: simplify workflows and remove debug apk signing
Browse files Browse the repository at this point in the history
  • Loading branch information
Bnyro committed Oct 12, 2023
1 parent 3ae3b53 commit 4ee34cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 53 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/main.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,20 @@ jobs:
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:
Expand Down
39 changes: 0 additions & 39 deletions .github/workflows/release.yml

This file was deleted.

0 comments on commit 4ee34cb

Please sign in to comment.