Create GitHub actions for automated publishing

This commit is contained in:
LikDev-256 2022-10-14 19:45:15 +05:30 committed by GitHub
parent 6cca687bce
commit f80b675efd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

28
.github/workflows/main.yml vendored Normal file
View file

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