-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4567edd
commit 45671d2
Showing
1 changed file
with
16 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,9 @@ name: Android Build CI/CD | |
# Only code merged to main with new release notes can be released as a build. | ||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- 'native_gg/android/WhatsNew/**' | ||
# branches: [ main ] | ||
# paths: | ||
# - 'native_gg/android/WhatsNew/**' | ||
|
||
jobs: | ||
android-build: | ||
|
@@ -20,7 +20,7 @@ jobs: | |
- uses: pnpm/[email protected] | ||
with: | ||
version: 8.14.1 | ||
- uses: actions/setup-java@v4 | ||
- uses: actions/setup-java@v4.0.0 | ||
with: | ||
distribution: 'temurin' # See 'Supported distributions' for available options | ||
java-version: '21' | ||
|
@@ -34,9 +34,6 @@ jobs: | |
gradlePath: native_gg/android/app/build.gradle | ||
versionCode: ${{github.run_number}} | ||
versionName: '1.0.0' | ||
|
||
- name: Install Dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
# - name: Run Unit Test | ||
# run: ./gradlew test | ||
|
@@ -75,21 +72,21 @@ jobs: | |
keyPassword: ${{ secrets.KEY_PASSWORD }} | ||
|
||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v4 | ||
uses: actions/upload-artifact@v4.1.0 | ||
with: | ||
name: Signed app bundle | ||
path: ${{steps.sign_app.outputs.signedReleaseFile}} | ||
retention-days: 4 | ||
|
||
# Distribute App to google play | ||
- name: Publish to Play Store internal test track | ||
uses: r0adkll/[email protected] | ||
with: | ||
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }} | ||
packageName: com.guardianghost | ||
releaseFiles: native_gg/android/app/build/outputs/bundle/release/app-release.aab | ||
whatsNewDirectory: native_gg/android/WhatsNew | ||
track: internal | ||
# TODO: Change to completed or remove the status line once alpha or beta testing tracks are ready. | ||
status: draft | ||
inAppUpdatePriority: 3 | ||
# - name: Publish to Play Store internal test track | ||
# uses: r0adkll/[email protected] | ||
# with: | ||
# serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }} | ||
# packageName: com.guardianghost | ||
# releaseFiles: native_gg/android/app/build/outputs/bundle/release/app-release.aab | ||
# whatsNewDirectory: native_gg/android/WhatsNew | ||
# track: internal | ||
# # TODO: Change to completed or remove the status line once alpha or beta testing tracks are ready. | ||
# status: draft | ||
# inAppUpdatePriority: 3 |