Refactor: More widget stuff and fixing of files.
Signed-off-by: HeCodes2Much <wayne6324@gmail.com>
This commit is contained in:
15
.github/workflows/android-branch_ci.yml
vendored
15
.github/workflows/android-branch_ci.yml
vendored
@@ -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
|
||||
|
||||
15
.github/workflows/android-main_ci.yml
vendored
15
.github/workflows/android-main_ci.yml
vendored
@@ -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
|
||||
|
||||
15
.github/workflows/android-pr_ci.yml
vendored
15
.github/workflows/android-pr_ci.yml
vendored
@@ -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
|
||||
|
||||
35
.github/workflows/android-release_ci-forced.yml
vendored
35
.github/workflows/android-release_ci-forced.yml
vendored
@@ -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
|
||||
33
.github/workflows/android-release_ci.yml
vendored
33
.github/workflows/android-release_ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user