Refactor: More widget stuff and fixing of files.

Signed-off-by: HeCodes2Much <wayne6324@gmail.com>
This commit is contained in:
HeCodes2Much
2024-06-07 20:03:19 +01:00
parent 3b4af4e231
commit 327f1447a7
38 changed files with 976 additions and 422 deletions

View File

@@ -33,24 +33,43 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build
run: ./gradlew clean && ./gradlew assembleRelease
- name: Build with Gradle
run: ./gradlew clean && ./gradlew assembleAppWithInternetRelease && ./gradlew assembleAppWithoutInternetRelease
- name: Sign APK
- name: Sign APK - WithInternet
uses: ilharp/sign-android-release@v1
# ID used to access action output
id: sign_app
id: sign_app_withInternet
with:
releaseDir: app/build/outputs/apk/release
releaseDir: app/build/outputs/apk/withInternet/release
signingKey: ${{ secrets.SIGNINGKEY_BASE64 }}
keyAlias: ${{ secrets.KEY_ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
buildToolsVersion: 33.0.0
- name: Upload Artifact
- name: Upload Artifact - WithInternet
uses: actions/upload-artifact@v4
with:
name: Signed app bundle
path: app/build/outputs/apk/release/*.apk
name: Signed app bundle - WithInternet
path: app/build/outputs/apk/withInternet/release/*.apk
retention-days: 3
- name: Sign APK - WithInternet
uses: ilharp/sign-android-release@v1
# ID used to access action output
id: sign_app_withoutInternet
with:
releaseDir: app/build/outputs/apk/withoutInternet/release
signingKey: ${{ secrets.SIGNINGKEY_BASE64 }}
keyAlias: ${{ secrets.KEY_ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
buildToolsVersion: 33.0.0
- name: Upload Artifact - WithoutInternet
uses: actions/upload-artifact@v4
with:
name: Signed app bundle - WithoutInternet
path: app/build/outputs/apk/withoutInternet/release/*.apk
retention-days: 3