-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (34 loc) · 1003 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install
run: |
npm install
- name: Build
run: |
cd android
chmod +x ./gradlew
./gradlew assembleRelease
# - name: Test
# run: |
# npm test
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
android/app/build/outputs/apk/release/app-arm64-v8a-release.apk
android/app/build/outputs/apk/release/app-universal-release.apk
android/app/build/outputs/apk/release/app-armeabi-v7a-release.apk
android/app/build/outputs/apk/release/app-x86_64-release.apk
android/app/build/outputs/apk/release/app-x86-release.apk
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}