From aca84160474c2c9137cfc26fcc4c0c4a71bbbbf2 Mon Sep 17 00:00:00 2001 From: Michael Mikovsky <77305074+Astatin3@users.noreply.github.com> Date: Wed, 24 Jul 2024 16:01:54 -0600 Subject: [PATCH] Create apk.yml --- .github/workflows/apk.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/apk.yml diff --git a/.github/workflows/apk.yml b/.github/workflows/apk.yml new file mode 100644 index 0000000..b2370ad --- /dev/null +++ b/.github/workflows/apk.yml @@ -0,0 +1,26 @@ +name: Build & Publish Release APK + +on: + push: + tags: + - '*' + +jobs: + Gradle: + runs-on: ubuntu-latest + steps: + - name: checkout code + uses: actions/checkout@v2 + - name: setup jdk + uses: actions/setup-java@v1 + with: + java-version: 17 + - name: Make Gradle executable + run: chmod +x ./gradlew + - name: Build Release APK + run: ./gradlew assembleRelease + - name: Releasing using Hub + uses: sangatdesai/release-apk@main + env: + GITHUB_TOKEN: ${{ secrets.TOKEN }} + APP_FOLDER: app