From 1c7adc6fb9c8141c27ef9f2f67aa77ba4119684b Mon Sep 17 00:00:00 2001 From: MrBoomDev Date: Wed, 21 Feb 2024 12:35:12 +0500 Subject: [PATCH 1/4] Update android.yml --- .github/workflows/android.yml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 0a248518..c177903a 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -1,24 +1,43 @@ name: Artifact Build -on: push +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] jobs: build: runs-on: ubuntu-latest + steps: - uses: actions/checkout@v4 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: java-version: '17' distribution: 'adopt' + - name: Grant execute permission for gradlew run: chmod +x gradlew - - name: Run Gradle + + - name: Build Release Apk run: ./gradlew assembleRelease - - name: Upload Artifact + + - name: Build Debug Apk + run: ./gradlew assembleDebug + + - name: Upload Release Apk uses: actions/upload-artifact@v4 with: name: "Release APK" retention-days: 90 path: "app/build/outputs/apk/release/*.apk" + + - name: Upload Debug Apk + uses: actions/upload-artifact@v4 + with: + name: "Debug APK" + retention-days: 90 + path: "app/build/outputs/apk/debug/*.apk" \ No newline at end of file From d0d361535e03f634fbc070ea89818937d62f0038 Mon Sep 17 00:00:00 2001 From: MrBoomDev Date: Wed, 21 Feb 2024 12:35:59 +0500 Subject: [PATCH 2/4] Delete .github/FUNDING.yml --- .github/FUNDING.yml | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 40802518..00000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,13 +0,0 @@ -# These are supported funding model platforms - -github: [rebelonion] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry -custom: ['https://www.buymeacoffee.com/rebelonion'] From 6fb082a61832b8aef41975f5ab1f3314f99a7bca Mon Sep 17 00:00:00 2001 From: MrBoomDev Date: Wed, 21 Feb 2024 12:55:19 +0500 Subject: [PATCH 3/4] Update android.yml --- .github/workflows/android.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index c177903a..cc634c8c 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -2,9 +2,11 @@ name: Artifact Build on: push: - branches: [ main ] + branches: + - master pull_request: - branches: [ main ] + branches: + - master jobs: build: From cec7193b0506f6b26ccfa958ad7b4174bf169d11 Mon Sep 17 00:00:00 2001 From: MrBoomDev Date: Wed, 21 Feb 2024 13:19:25 +0500 Subject: [PATCH 4/4] Update android.yml --- .github/workflows/android.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index cc634c8c..cb566eaf 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -2,11 +2,9 @@ name: Artifact Build on: push: - branches: - - master + branches: [ master ] pull_request: - branches: - - master + branches: [ master ] jobs: build: @@ -27,7 +25,7 @@ jobs: - name: Build Release Apk run: ./gradlew assembleRelease - - name: Build Debug Apk + - name: Build Debug Apk run: ./gradlew assembleDebug - name: Upload Release Apk