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'] diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 0a248518..cb566eaf 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -1,24 +1,43 @@ name: Artifact Build -on: push +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] 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