Skip to content

Commit

Permalink
chore: Updating Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
niyajali committed Nov 27, 2024
1 parent a432f9b commit 16c8dd3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/internal_or_beta_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ on:
description: Publish to Play Store?
type: boolean

publish_ios:
required: false
default: false
description: Publish to Firebase iOS App Distribution?
type: boolean

env:
SUPPLY_UPLOAD_MAX_RETRIES: 5

Expand Down Expand Up @@ -142,7 +148,7 @@ jobs:
./mifospay-desktop/build/compose/binaries/main-release/msi/*.msi
./mifospay-desktop/build/compose/binaries/main-release/deb/*.deb
./mifospay-desktop/build/compose/binaries/main-release/dmg/*.dmg
- name: ☁️ Deploy to Firebase
env:
Expand All @@ -157,7 +163,7 @@ jobs:

distribute_ios_app:
name: Build iOS App
if: github.event.inputs.release_type == 'beta'
if: ${{ github.event.inputs.release_type == 'beta' && github.event.inputs.publish_ios == true }}
needs: [ distribute_android_app ]
runs-on: macos-latest
permissions:
Expand Down
12 changes: 6 additions & 6 deletions mifospay-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ android {
isIncludeAndroidResources = true
}
}

firebaseAppDistribution {
serviceCredentialsFile = "mifospay-android/firebaseAppDistributionServiceCredentialsFile.json"
releaseNotesFile = "mifospay-android/build/outputs/changelogBeta"
groups = "mifos-wallet-testers"
}
}

dependencies {
Expand Down Expand Up @@ -144,12 +150,6 @@ dependencyGuard {
}
}

firebaseAppDistribution {
serviceCredentialsFile = "firebaseAppDistributionServiceCredentialsFile.json"
releaseNotesFile = "build/outputs/changelogBeta"
groups = "mifos-wallet-testers"
}

// Disable to fix memory leak and be compatible with the configuration cache.
configure<GoogleServicesPluginConfig> {
disableVersionCheck = true
Expand Down

0 comments on commit 16c8dd3

Please sign in to comment.