mirror of
https://github.com/stan220/Zte-F660-Control.git
synced 2026-09-08 15:28:38 +00:00
Added Github action.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
name: Android CI - Publish 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: Debug APK Publisher
|
||||
uses: ShaunLWM/action-release-debugapk@0.0.5
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
||||
APP_FOLDER: app
|
||||
RELEASE_TITLE: New Build
|
||||
Reference in New Issue
Block a user