From f80b675efd102ad9d347becd88189588b88b5b5b Mon Sep 17 00:00:00 2001 From: LikDev-256 <81100289+LikDev-256@users.noreply.github.com> Date: Fri, 14 Oct 2022 19:45:15 +0530 Subject: [PATCH] Create GitHub actions for automated publishing --- .github/workflows/main.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..dacb8092 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,28 @@ +name: Build & Publish Debug APK + +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Make Gradle executable + run: chmod +x ./gradlew + - name: Build with Gradle + run: ./gradlew build + - name: Build Debug APK + run: ./gradlew assembleDebug + - name: Releasing using Hub + uses: ShaunLWM/action-release-debugapk@master + env: + GITHUB_TOKEN: ${{ secrets.TOKEN }} + APP_FOLDER: app + RELEASE_TITLE: Prerelease