Skip to content

Commit 1c48845

Browse files
Create master-apk-create.yml
1 parent dcd643b commit 1c48845

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Create APK from Master
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: set up JDK 11
16+
uses: actions/setup-java@v2
17+
with:
18+
java-version: '11'
19+
distribution: 'temurin'
20+
cache: gradle
21+
22+
- name: Grant execute permission for gradlew
23+
run: chmod +x gradlew
24+
25+
- name: Build APK ⚙️🛠
26+
run: bash ./gradlew assembleDebug
27+
28+
- uses: "marvinpinto/action-automatic-releases@latest"
29+
with:
30+
repo_token: "${{ github.token }}"
31+
automatic_release_tag: "latest-master"
32+
prerelease: true
33+
title: "Staging Build"
34+
files: app/build/outputs/apk/debug/*.apk
35+

0 commit comments

Comments
 (0)