Skip to content

fix:(bank-sdk) Fix typo #226

fix:(bank-sdk) Fix typo

fix:(bank-sdk) Fix typo #226

name: Publish Bank SDK Example App QA Build to App Center
on:
workflow_dispatch:
push:
paths:
- 'bank-sdk/**'
- 'capture-sdk/**'
- 'bank-api-library/**'
- 'core-api-library/**'
- 'gradle/**'
jobs:
check:
uses: ./.github/workflows/bank-sdk.check.yml
secrets:
GINI_MOBILE_TEST_CLIENT_SECRET: ${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }}
BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD: ${{ secrets.BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD }}
publish_to_app_center:
needs: check
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- name: setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.0'
bundler-cache: true
- name: build release example app for QA
run: >
./gradlew bank-sdk:example-app:assembleQaExampleAppRelease
-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: Install appcenter-cli
run: >
npm install -g appcenter-cli
- name: Distribute Bank-sdk example apk to App Center
uses: akiojin/[email protected]
with:
token: ${{ secrets.GINI_BANK_SDK_EXAMPLE_APPCENTER_API_TOKEN }}
path: bank-sdk/example-app/build/outputs/apk/qaExampleApp/release/example-app-qa-exampleApp-release.apk
app: Gini-Team-Organization/Screen-API-Example-Gini-Pay-Bank-SDK
group: 'Internal'
release_notes: |
${{ format('{{ {0} {1} }}', github.ref, github.sha) }}
${{ github.event.head_commit.message }}