Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test different package name #643

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/bank-sdk.alternative.version.artifact.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build Bank SDK alternative version

on:
workflow_dispatch:
workflow_call:
secrets:
GINI_MOBILE_TEST_CLIENT_SECRET:
required: true
BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD:
required: true

jobs:
build-example-apps:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'

- name: build unique release example app for QA
run: >
./gradlew bank-sdk:example-app:assembleQaUniqueExampleAppRelease
-PclientId="gini-mobile-test"
-PclientSecret="${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }}"
-PreleaseKeystoreFile="screen_api_example.jks"
-PreleaseKeystorePassword='${{ secrets.BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD }}'
-PreleaseKeyAlias="screen_api_example"
-PreleaseKeyPassword='${{ secrets.BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD }}'

- name: archive unique release example app for QA
uses: actions/upload-artifact@v4
with:
name: bank-sdk-example-app-qa-release
path: bank-sdk/example-app/build/outputs/apk/qaUniqueExampleApp/release
39 changes: 39 additions & 0 deletions .github/workflows/health-sdk.alternative.version.check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build Health SDK alternative version

on:
workflow_dispatch:
workflow_call:
secrets:
GINI_MOBILE_TEST_CLIENT_SECRET:
required: true
HEALTH_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD:
required: true

jobs:
build-example-app:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'

- name: build unique release example app for QA
run: >
./gradlew health-sdk:example-app:assembleQaUniqueRelease
-PclientId="gini-mobile-test"
-PclientSecret="${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }}"
-PreleaseKeystoreFile="health_sdk_example.jks"
-PreleaseKeystorePassword='${{ secrets.HEALTH_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD }}'
-PreleaseKeyAlias="health_sdk_example"
-PreleaseKeyPassword='${{ secrets.HEALTH_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD }}'

- name: archive unique release example app for QA
uses: actions/upload-artifact@v4
with:
name: health-sdk-example-app-qaUnique-release
path: health-sdk/example-app/build/outputs/apk/qaUnique/release
39 changes: 39 additions & 0 deletions .github/workflows/merchant-sdk.alternative.version.artifact.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Check Merchant SDK alternative version

on:
workflow_dispatch:
workflow_call:
secrets:
GINI_MOBILE_TEST_CLIENT_SECRET:
required: true
MERCHANT_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD:
required: true

jobs:
build-example-app:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'

- name: build release example app for QA
run: >
./gradlew merchant-sdk:example-app:assembleQaUniqueRelease
-PclientId="gini-mobile-test"
-PclientSecret="${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }}"
-PreleaseKeystoreFile="merchant_sdk_example.jks"
-PreleaseKeystorePassword='${{ secrets.MERCHANT_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD }}'
-PreleaseKeyAlias="merchant_sdk_example"
-PreleaseKeyPassword='${{ secrets.MERCHANT_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD }}'

- name: archive release example app for QA
uses: actions/upload-artifact@v4
with:
name: merchant-sdk-example-app-qaUnique-release
path: merchant-sdk/example-app/build/outputs/apk/qaUnique/release
5 changes: 5 additions & 0 deletions bank-sdk/example-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ android {
create("qa") {
dimension = "environment"
}
create("qaUnique"){
dimension = "environment"
val v = project(":bank-sdk:sdk").project.version.toString().replace(".", "_")
applicationIdSuffix = ".qa$v"
}
create("exampleApp") {
isDefault = true
dimension = "purpose"
Expand Down
5 changes: 5 additions & 0 deletions health-sdk/example-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ android {
create("qa") {
dimension = "environment"
}
create("qaUnique"){
dimension = "environment"
val v = project(":health-sdk:sdk").project.version.toString().replace(".", "_")
applicationIdSuffix = ".qa$v"
}
}
buildFeatures {
viewBinding = true
Expand Down
5 changes: 5 additions & 0 deletions merchant-sdk/example-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ android {
create("qa") {
dimension = "environment"
}
create("qaUnique"){
dimension = "environment"
val v = project(":health-sdk:sdk").project.version.toString().replace(".", "_")
applicationIdSuffix = ".qa$v"
}
}
buildFeatures {
viewBinding = true
Expand Down
Loading