Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 77 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Android CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
create:
tags:
- v*

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
type: ['debug', 'release']
fail-fast: true

steps:
- uses: actions/checkout@v2

- name: set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'

- name: Gradle build ${{ matrix.type }} apk
uses: eskatos/gradle-command-action@v1.3.3
with:
gradle-version: current
wrapper-cache-enabled: true
dependencies-cache-enabled: true
configuration-cache-enabled: true
arguments: assemble${{ matrix.type }}

- name: Sign release APK
uses: r0adkll/sign-android-release@v1
id: sign_app
with:
releaseDirectory: app/build/outputs/apk/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
if: matrix.type == 'release'

- name: Upload release apk
uses: actions/upload-artifact@master
with:
name: app-${{ matrix.type }}
path: ${{ steps.sign_app.outputs.signedReleaseFile }}
if: matrix.type == 'release'

- name: Upload debug apk
uses: actions/upload-artifact@master
with:
name: app-${{ matrix.type }}
path: app/build/outputs/apk/${{ matrix.type }}/
if: matrix.type == 'debug'

publish:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
needs: build

steps:
- name: Download App Artifacts
uses: actions/download-artifact@v3

- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
app-debug/app-debug.apk
app-release/app-release-unsigned-signed.apk
Binary file removed bkkrht.apk
Binary file not shown.
2 changes: 0 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
Android Application to limit your Phone Usage.
Just select the applications that you don't want to use and let Ashneer Grover do the rest.

## [Download Apk](https://github.com/oddlyspaced/bhaikyakarrahahaitu-android/raw/main/bkkrht.apk)

## FAQ :
**Q: What is this?**

Expand Down