1
0
Fork 0

Add GitHub Actions build script.

This commit is contained in:
Akìra 2024-04-28 20:24:34 +00:00 committed by GitHub
parent 99059a261f
commit 916ad91b82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

26
.github/workflows/android.yml vendored Normal file
View file

@ -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: 11
- 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