mirror of
https://github.com/yogeshpaliyal/KeyPass.git
synced 2026-05-02 19:39:44 -05:00
Create master-apk-create.yml
This commit is contained in:
committed by
GitHub
parent
fb8ed20b07
commit
5b4275400b
@@ -0,0 +1,35 @@
|
||||
name: Create APK from Master
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: set up JDK 11
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Build APK ⚙️🛠
|
||||
run: bash ./gradlew assembleProductionDebug
|
||||
|
||||
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||
with:
|
||||
repo_token: "${{ github.token }}"
|
||||
automatic_release_tag: "latest"
|
||||
prerelease: true
|
||||
title: "Development Build"
|
||||
files: app/build/outputs/apk/production/debug/*.apk
|
||||
|
||||
Reference in New Issue
Block a user