Skip to content

Commit 39d6863

Browse files
committed
feat: release APK when pushing a tag
1 parent 084e758 commit 39d6863

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: 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: r0user/release-apk@main
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.TOKEN }}
26+
APP_FOLDER: app

0 commit comments

Comments
 (0)