mirror of
https://github.com/YTVanced/VancedManager
synced 2024-10-31 16:22:38 +00:00
Create android.yml
This commit is contained in:
parent
54a2a32c9f
commit
22d1177259
1 changed files with 29 additions and 0 deletions
29
.github/workflows/android.yml
vendored
Normal file
29
.github/workflows/android.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
|
||||
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: New Build
|
Loading…
Reference in a new issue