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

@@ -39,11 +39,18 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean && ./gradlew assembleDebug
run: ./gradlew clean && ./gradlew assembleAppWithInternetDebug && ./gradlew assembleAppWithoutInternetDebug
- name: Upload Artifact
- name: Upload Artifact - WithInternet
uses: actions/upload-artifact@v4
with:
name: Signed app bundle
path: app/build/outputs/apk/debug/*.apk
name: Signed app bundle - WithInternet
path: app/build/outputs/apk/withInternet/debug/*.apk
retention-days: 3
- name: Upload Artifact - WithoutInternet
uses: actions/upload-artifact@v4
with:
name: Signed app bundle - WithoutInternet
path: app/build/outputs/apk/withoutInternet/debug/*.apk
retention-days: 3

View File

@@ -37,11 +37,18 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean && ./gradlew assembleDebug
run: ./gradlew clean && ./gradlew assembleAppWithInternetDebug && ./gradlew assembleAppWithoutInternetDebug
- name: Upload Artifact
- name: Upload Artifact - WithInternet
uses: actions/upload-artifact@v4
with:
name: Signed app bundle
path: app/build/outputs/apk/debug/*.apk
name: Signed app bundle - WithInternet
path: app/build/outputs/apk/withInternet/debug/*.apk
retention-days: 3
- name: Upload Artifact - WithoutInternet
uses: actions/upload-artifact@v4
with:
name: Signed app bundle - WithoutInternet
path: app/build/outputs/apk/withoutInternet/debug/*.apk
retention-days: 3

View File

@@ -37,11 +37,18 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean && ./gradlew assembleDebug
run: ./gradlew clean && ./gradlew assembleAppWithInternetDebug && ./gradlew assembleAppWithoutInternetDebug
- name: Upload Artifact
- name: Upload Artifact - WithInternet
uses: actions/upload-artifact@v4
with:
name: Signed app bundle
path: app/build/outputs/apk/debug/*.apk
name: Signed app bundle - WithInternet
path: app/build/outputs/apk/withInternet/debug/*.apk
retention-days: 3
- name: Upload Artifact - WithoutInternet
uses: actions/upload-artifact@v4
with:
name: Signed app bundle - WithoutInternet
path: app/build/outputs/apk/withoutInternet/debug/*.apk
retention-days: 3

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

View File

@@ -35,15 +35,15 @@ 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 }}
@@ -54,7 +54,28 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GIT_BOT_TOKEN }}
file: ${{steps.sign_app.outputs.signedFile}}
file: ${{steps.sign_app_withInternet.outputs.signedFile}}
asset_name: EasyLauncher-Internet-${{ github.ref_name }}-Signed.apk
tag: ${{ github.ref }}
overwrite: true
- 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: Release to GitHub
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GIT_BOT_TOKEN }}
file: ${{steps.sign_app_withoutInternet.outputs.signedFile}}
asset_name: EasyLauncher-${{ github.ref_name }}-Signed.apk
tag: ${{ github.ref }}
overwrite: true