Skip to content

Commit

Permalink
Merge pull request #8 from Myzel394/improvements
Browse files Browse the repository at this point in the history
chore: Update versions
  • Loading branch information
Myzel394 authored May 15, 2024
2 parents 0e1fa3e + 86b2183 commit 31a5ae4
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: numberhub-app-debug-apks
path: app/build/outputs/apk/fdroid/debug/app-*-debug.apk
path: app/build/outputs/apk/*/debug/app-*-debug.apk
2 changes: 1 addition & 1 deletion .github/workflows/release-app-github.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and publish app
name: Build and publish app (F-Droid variant)

on:
release:
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/release-app-google-play.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build and publish app to Google Play (Google Play variant)

on:
release:
types: [ published ]

jobs:
release-app-google-play:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- uses: gradle/wrapper-validation-action@v2

- name: Write KeyStore 🗝️
uses: ./.github/actions/prepare-keystore
with:
signingStorePassword: ${{ secrets.SIGNING_STORE_PASSWORD }}
signingKeyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}
signingKeyAlias: ${{ secrets.SIGNING_KEY_ALIAS }}
keyStoreBase64: ${{ secrets.KEYSTORE }}

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 21
cache: 'gradle'

- name: Build Bundles 📱
run: ./gradlew bundleRelease

- name: Rename APK
run: mv app/build/outputs/bundle/playStoreRelease/app-playStore-release.aab NumberHub.aab

- name: Upload Bundles 🚀
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_STORE_SERVICE_ACCOUNT }}
packageName: app.myzel394.numberhub
releaseFiles: NumberHub.aab
track: production
status: inProgress
userFraction: 0.5
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[versions]
versionCode = "3"
versionCode = "4"
versionName = "NumberHub"

androidxBrowserBrowser = "1.8.0"
androidGradlePlugin = "8.3.2"
androidxActivityActivityCompose = "1.9.0"
androidxAppCompatAppCompat = "1.6.1"
androidxCompose = "1.6.6"
androidxCompose = "1.6.7"
androidxComposeCompiler = "1.5.9"
androidxComposeMaterial3 = "1.2.1"
androidxCoreCoreKts = "1.13.0"
androidxCoreCoreKts = "1.13.1"
androidxGlanceGlance = "1.0.0"
androidxDatastoreDatastorePreferences = "1.1.0"
androidxDatastoreDatastorePreferences = "1.1.1"
androidxEspresso = "3.5.1"
androidxHiltHiltNavigationCompose = "1.2.0"
androidxMacroBenchmark = "1.2.4"
Expand Down

0 comments on commit 31a5ae4

Please sign in to comment.