Skip to content

Commit fb944fd

Browse files
authored
Create android.yml
1 parent 706251f commit fb944fd

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

Diff for: .github/workflows/android.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build & Publish Debug APK
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v1
13+
- name: set up JDK 1.8
14+
uses: actions/setup-java@v1
15+
with:
16+
java-version: 1.8
17+
- name: Make Gradle executable
18+
run: chmod +x ./gradlew
19+
- name: Build with Gradle
20+
run: ./gradlew build
21+
- name: Build Debug APK
22+
run: ./gradlew assembleDebug
23+
- name: Releasing using Hub
24+
uses: ShaunLWM/action-release-debugapk@master
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.TOKEN }}
27+
APP_FOLDER: app
28+
RELEASE_TITLE: New Build

0 commit comments

Comments
 (0)