Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Commit 3cbced4

Browse files
committed
Github Actions & Android launcher icons
1 parent 63c786f commit 3cbced4

File tree

17 files changed

+71
-40
lines changed

17 files changed

+71
-40
lines changed

.github/assets/android.png

11.6 KB
Loading

.github/assets/google-play.png

13.6 KB
Loading

.github/workflows/main.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
on:
2+
push:
3+
tags:
4+
- '*'
5+
6+
name: Release Builds
7+
jobs:
8+
linux:
9+
name: Android
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/setup-java@v1
13+
with:
14+
java-version: '12.x'
15+
16+
- uses: actions/checkout@v2
17+
with:
18+
path: 'app'
19+
20+
- run: |
21+
cd app
22+
npm i
23+
npm run release-android
24+
25+
- name: Publish Release
26+
uses: ncipollo/release-action@v1
27+
with:
28+
artifacts: 'app/android/app/build/outputs/apk/release/app-release.apk'
29+
token: ${{ secrets.TOKEN }}
30+
allowUpdates: true

android/app/build.gradle

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,12 @@ android {
4242
}
4343
signingConfigs {
4444
release {
45-
storeFile file('debug.keystore')
46-
storePassword 'android'
47-
keyAlias 'androiddebugkey'
48-
keyPassword 'android'
49-
// if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
50-
// storeFile file(MYAPP_RELEASE_STORE_FILE)
51-
// storePassword MYAPP_RELEASE_STORE_PASSWORD
52-
// keyAlias MYAPP_RELEASE_KEY_ALIAS
53-
// keyPassword MYAPP_RELEASE_KEY_PASSWORD
54-
// }
45+
if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
46+
storeFile file(MYAPP_RELEASE_STORE_FILE)
47+
storePassword MYAPP_RELEASE_STORE_PASSWORD
48+
keyAlias MYAPP_RELEASE_KEY_ALIAS
49+
keyPassword MYAPP_RELEASE_KEY_PASSWORD
50+
}
5551
}
5652
}
5753
splits {

android/app/key.jks

2.16 KB
Binary file not shown.
830 Bytes
Loading
1.16 KB
Loading
-16 Bytes
Loading
417 Bytes
Loading
914 Bytes
Loading

0 commit comments

Comments
 (0)