From 2851925ba62ea7c01638cfc2144554bd9985fba5 Mon Sep 17 00:00:00 2001 From: ale Date: Thu, 25 Dec 2025 21:21:54 +0100 Subject: [PATCH] actions github Signed-off-by: ale --- .github/workflows/build-release-apk.yml | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/build-release-apk.yml diff --git a/.github/workflows/build-release-apk.yml b/.github/workflows/build-release-apk.yml new file mode 100644 index 0000000..d8c4fa6 --- /dev/null +++ b/.github/workflows/build-release-apk.yml @@ -0,0 +1,35 @@ +name: Build & Publish APK Release + +on: + push: + tags: + - 'v*' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + + - name: Make Gradle executable + run: chmod +x ./gradlew + + - name: Build with Gradle + run: ./gradlew build + + - name: Build Debug APK + run: ./gradlew assembleDebug + + - name: Upload APK to Release + uses: ShaunLWM/action-release-debugapk@master + env: + GITHUB_TOKEN: ${{ secrets.TOKEN }} + APP_FOLDER: app + RELEASE_TITLE: Release ${{ github.ref_name }}