Skip to content
This repository was archived by the owner on Dec 27, 2021. It is now read-only.

Commit d804d8f

Browse files
authored
Merge pull request #7 from xiao2958749/patch-1
Update action.yml
2 parents 933f81b + bccd29b commit d804d8f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

action.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,31 @@ inputs:
1414
runs:
1515
using: "docker"
1616
image: "Dockerfile"
17+
name: Build & Publish Debug APK
18+
19+
on:
20+
push:
21+
branches:
22+
- master
23+
24+
jobs:
25+
build:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v1
29+
- name: set up JDK 1.8
30+
uses: actions/setup-java@v1
31+
with:
32+
java-version: 1.8
33+
- name: Make Gradle executable
34+
run: chmod +x ./gradlew
35+
- name: Build with Gradle
36+
run: ./gradlew build
37+
- name: Build Debug APK
38+
run: ./gradlew assembleDebug
39+
- name: Releasing using Hub
40+
uses: ShaunLWM/action-release-debugapk@master
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.TOKEN }}
43+
APP_FOLDER: app
44+
RELEASE_TITLE: New Build

0 commit comments

Comments
 (0)