Skip to content

Commit 16239c7

Browse files
Merge pull request #1 from yogeshpaliyal/yogeshpaliyal-patch-1
Create master-apk-create.yml
2 parents dcd643b + 20394c5 commit 16239c7

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
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+

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
![](cover.jpeg)
22

3-
# Marky
3+
<div style="display: inline-block" align="center">
4+
<h1>Marky</h1>
5+
<p>
6+
<a href="https://github.com/yogeshpaliyal/Marky/releases/download/latest-master/app-staging-debug.apk">
7+
<img src="https://img.shields.io/badge/Master-master?color=7885FF&label=Sample%20App&logo=android&style=for-the-badge" alt="Master Sample App">
8+
</a>
9+
</p>
10+
</div>
411

512
![buildStatus](https://img.shields.io/github/workflow/status/yogeshpaliyal/Marky/Java%20CI%20with%20Gradle?style=plastic)
613
![latestVersion](https://img.shields.io/github/v/release/yogeshpaliyal/Marky)

0 commit comments

Comments
 (0)