Skip to content

Commit 31a5ae4

Browse files
authored
Merge pull request #8 from Myzel394/improvements
chore: Update versions
2 parents 0e1fa3e + 86b2183 commit 31a5ae4

File tree

4 files changed

+52
-6
lines changed

4 files changed

+52
-6
lines changed

.github/workflows/build-testing.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
uses: actions/upload-artifact@v4
3737
with:
3838
name: numberhub-app-debug-apks
39-
path: app/build/outputs/apk/fdroid/debug/app-*-debug.apk
39+
path: app/build/outputs/apk/*/debug/app-*-debug.apk

.github/workflows/release-app-github.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and publish app
1+
name: Build and publish app (F-Droid variant)
22

33
on:
44
release:
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Build and publish app to Google Play (Google Play variant)
2+
3+
on:
4+
release:
5+
types: [ published ]
6+
7+
jobs:
8+
release-app-google-play:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- uses: gradle/wrapper-validation-action@v2
16+
17+
- name: Write KeyStore 🗝️
18+
uses: ./.github/actions/prepare-keystore
19+
with:
20+
signingStorePassword: ${{ secrets.SIGNING_STORE_PASSWORD }}
21+
signingKeyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}
22+
signingKeyAlias: ${{ secrets.SIGNING_KEY_ALIAS }}
23+
keyStoreBase64: ${{ secrets.KEYSTORE }}
24+
25+
- name: Setup Java
26+
uses: actions/setup-java@v4
27+
with:
28+
distribution: 'adopt'
29+
java-version: 21
30+
cache: 'gradle'
31+
32+
- name: Build Bundles 📱
33+
run: ./gradlew bundleRelease
34+
35+
- name: Rename APK
36+
run: mv app/build/outputs/bundle/playStoreRelease/app-playStore-release.aab NumberHub.aab
37+
38+
- name: Upload Bundles 🚀
39+
uses: r0adkll/upload-google-play@v1
40+
with:
41+
serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_STORE_SERVICE_ACCOUNT }}
42+
packageName: app.myzel394.numberhub
43+
releaseFiles: NumberHub.aab
44+
track: production
45+
status: inProgress
46+
userFraction: 0.5

gradle/libs.versions.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[versions]
2-
versionCode = "3"
2+
versionCode = "4"
33
versionName = "NumberHub"
44

55
androidxBrowserBrowser = "1.8.0"
66
androidGradlePlugin = "8.3.2"
77
androidxActivityActivityCompose = "1.9.0"
88
androidxAppCompatAppCompat = "1.6.1"
9-
androidxCompose = "1.6.6"
9+
androidxCompose = "1.6.7"
1010
androidxComposeCompiler = "1.5.9"
1111
androidxComposeMaterial3 = "1.2.1"
12-
androidxCoreCoreKts = "1.13.0"
12+
androidxCoreCoreKts = "1.13.1"
1313
androidxGlanceGlance = "1.0.0"
14-
androidxDatastoreDatastorePreferences = "1.1.0"
14+
androidxDatastoreDatastorePreferences = "1.1.1"
1515
androidxEspresso = "3.5.1"
1616
androidxHiltHiltNavigationCompose = "1.2.0"
1717
androidxMacroBenchmark = "1.2.4"

0 commit comments

Comments
 (0)