Skip to content

Commit

Permalink
ci android?
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiebe committed Feb 10, 2024
1 parent c60d4b1 commit d217dee
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 148 deletions.
41 changes: 36 additions & 5 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,42 @@ jobs:

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
env:
USERNAME: ${{ secrets.USERNAME }}
TOKEN: ${{ secrets.ACCESS_TOKEN }}

- name: Assemble Release Bundle
run: |
./gradlew bundleRelease
- name: Sign Release Android
uses: r0adkll/sign-android-release@v1
id: sign_app_android
with:
releaseDirectory: androidApp/build/outputs/bundle/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}

- name: Sign Release Wear OS
uses: r0adkll/sign-android-release@v1
id: sign_app_wear
with:
releaseDirectory: wearApp/build/outputs/bundle/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}


- name: Upload release
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: nl.tiebe.otarium
releaseFiles: ${{steps.sign_app_android.outputs.signedReleaseFile}},${{steps.sign_app_wear.outputs.signedReleaseFile}}
track: production
whatsNewDirectory: whatsNew
changesNotSentForReview: true


- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.3
with:
Expand Down
59 changes: 0 additions & 59 deletions .github/workflows/ios.yml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/workflows/ios_beta.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/test.yml

This file was deleted.

2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ dependencyResolutionManagement {
rootProject.name = "Otarium"

include(":androidApp")
include(":shared")
include(":wearApp")
include(":shared")
1 change: 1 addition & 0 deletions whatsNew/whatsnew-en-US
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bug fixes and separate PTA

0 comments on commit d217dee

Please sign in to comment.