Merge pull request #303 from reown-com/chore/bump-yttrium-0.10.43 #101
This file contains hidden or 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
| name: Release Samples - Internal | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| paths: | |
| - 'foundation/**' | |
| - 'core/**' | |
| - 'protocol/**' | |
| - 'product/**' | |
| - 'sample/**' | |
| workflow_dispatch: | |
| jobs: | |
| release_samples_internal: | |
| strategy: | |
| matrix: | |
| conf: [ | |
| { name: wallet, command: ":sample:wallet:assembleInternal :sample:wallet:appDistributionUploadInternal" }, | |
| { name: dapp, command: ":sample:dapp:assembleInternal :sample:dapp:appDistributionUploadInternal" }, | |
| { name: modal, command: ":sample:modal:assembleInternal :sample:modal:appDistributionUploadInternal" }, | |
| { name: pos, command: ":sample:pos:assembleInternal" } | |
| ] | |
| name: ${{ matrix.conf.name }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Java 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '17' | |
| architecture: x86_64 | |
| cache: 'gradle' | |
| - name: Cache Gradle | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ~/.gradle/caches | |
| ~/.gradle/wrapper | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gradle- | |
| - name: Setup Required files to build samples | |
| with: | |
| GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }} | |
| FIREBASE_SERVICE_CREDENTIALS: ${{ secrets.FIREBASE_SERVICE_CREDENTIALS }} | |
| SECRETS_PROPERTIES: ${{ secrets.SECRETS_PROPERTIES }} | |
| ENCODED_STRING_DEBUG: ${{ secrets.WC_KOTLIN_DEBUG_KEYSTORE }} | |
| SIGNING_KEY_STORE_PATH_DEBUG: ${{ secrets.WC_KOTLIN_DEBUG_KEYSTORE_PATH }} | |
| ENCODED_STRING_INTERNAL: ${{ secrets.WC_KOTLIN_INTERNAL_KEYSTORE }} | |
| SIGNING_KEY_STORE_PATH_INTERNAL: ${{ secrets.WC_KOTLIN_INTERNAL_KEYSTORE_PATH }} | |
| ENCODED_STRING_UPLOAD: ${{ secrets.WC_KOTLIN_UPLOAD_KEYSTORE }} | |
| SIGNING_KEY_STORE_PATH_UPLOAD: ${{ secrets.WC_KOTLIN_UPLOAD_KEYSTORE_PATH }} | |
| uses: ./.github/actions/ci_setup | |
| - name: Release sample - Internal | |
| env: | |
| WC_CLOUD_PROJECT_ID: ${{ secrets.WC_CLOUD_PROJECT_ID }} | |
| POS_PROJECT_ID: ${{ secrets.POS_PROJECT_ID }} | |
| FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} | |
| NOTIFY_INTEGRATION_TESTS_PROJECT_ID: ${{ secrets.NOTIFY_INTEGRATION_TESTS_PROJECT_ID }} | |
| NOTIFY_INTEGRATION_TESTS_SECRET: ${{ secrets.NOTIFY_INTEGRATION_TESTS_SECRET }} | |
| MIX_PANEL: ${{ secrets.MIX_PANEL }} | |
| run: ./gradlew ${{ matrix.conf.command }} | |
| - name: Stop Gradle | |
| run: ./gradlew --stop |