Skip to content

Commit bd56ee3

Browse files
authored
Create BuildAndPublish.yml
Build and Publish apk .
1 parent e0ac94b commit bd56ee3

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build & Publish Release APK
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
Gradle:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: checkout code
13+
uses: actions/checkout@v2
14+
- name: setup jdk
15+
uses: actions/setup-java@v1
16+
with:
17+
java-version: 11
18+
- name: Make Gradle executable
19+
run: chmod +x ./gradlew
20+
- name: Build Release APK
21+
run: ./gradlew assembleRelease
22+
- name: Releasing using Hub
23+
uses: kyze8439690/action-release-releaseapk@master
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.TOKEN }}
26+
APP_FOLDER: app

0 commit comments

Comments
 (0)