forked from sadellie/unitto
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from Myzel394/improvements
chore: Update versions
- Loading branch information
Showing
4 changed files
with
52 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters