WalletKit - 🍎 iOS (internal) #110
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 WalletKit | |
| run-name: "WalletKit - ${{ inputs.platform == 'both' && '🍎 iOS & 🤖 Android' || inputs.platform == 'ios' && '🍎 iOS' || '🤖 Android' }} (${{ inputs.release-type }})" | |
| permissions: | |
| id-token: write | |
| contents: read | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| platform: | |
| description: 'Platform to build' | |
| required: true | |
| type: choice | |
| options: | |
| - both | |
| - android | |
| - ios | |
| release-type: | |
| description: 'Release type' | |
| required: true | |
| type: choice | |
| options: | |
| - internal | |
| - production | |
| e2e-build: | |
| description: 'Build for E2E tests (uploads to S3 for AppKit SDK repo tests)' | |
| required: false | |
| type: boolean | |
| default: false | |
| jobs: | |
| release-android: | |
| if: ${{ inputs.platform == 'android' || inputs.platform == 'both' }} | |
| uses: ./.github/workflows/release-android-base.yaml | |
| with: | |
| name: WalletKit React Native | |
| root-path: 'wallets/rn_cli_wallet' | |
| release-type: ${{ inputs.release-type }} | |
| project-type: 'wallet' | |
| output-path: ${{ inputs.release-type == 'internal' && 'wallets/rn_cli_wallet/android/app/build/outputs/apk/internal/app-internal.apk' || 'wallets/rn_cli_wallet/android/app/build/outputs/apk/release/app-release.apk' }} | |
| upload-to-bucket: ${{ inputs.e2e-build }} | |
| firebase-app-id: ${{ inputs.release-type == 'internal' && vars.WALLETKIT_ANDROID_INTERNAL_FIREBASE_APP_ID || vars.WALLETKIT_ANDROID_PROD_FIREBASE_APP_ID }} | |
| secrets: | |
| env-file: ${{ secrets.WALLETKIT_ENV_FILE }} | |
| sentry-file: ${{ secrets.WALLETKIT_SENTRY_FILE }} | |
| secrets-file: ${{ secrets.ANDROID_SECRETS_FILE }} | |
| gsa-key: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY }} | |
| keystore-name: ${{ inputs.release-type == 'internal' && vars.WC_INTERNAL_KEYSTORE_NAME || vars.WC_PROD_KEYSTORE_NAME }} | |
| keystore: ${{ inputs.release-type == 'internal' && secrets.WC_INTERNAL_KEYSTORE || secrets.WC_PROD_KEYSTORE }} | |
| aws-account-id: ${{ secrets.AWS_ACCOUNT_ID }} | |
| slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }} | |
| firebase-url: ${{ inputs.release-type == 'internal' && vars.FIREBASE_WALLETKIT_INTERNAL_URL || vars.FIREBASE_WALLETKIT_PROD_URL }} | |
| release-ios: | |
| if: ${{ inputs.platform == 'ios' || inputs.platform == 'both' }} | |
| uses: ./.github/workflows/release-ios-base.yaml | |
| with: | |
| name: WalletKit React Native | |
| root-path: 'wallets/rn_cli_wallet' | |
| release-type: ${{ inputs.release-type }} | |
| scheme-name: ${{ inputs.release-type == 'internal' && 'RNWallet-Internal' || 'RNWallet' }} | |
| bundle-id: ${{ inputs.release-type == 'internal' && 'com.walletconnect.web3wallet.rnsample.internal' || 'com.walletconnect.web3wallet.rnsample' }} | |
| apple-id: ${{ inputs.release-type == 'internal' && '6499165794' || '6449264964' }} | |
| project-type: 'wallet' | |
| build-for-simulator: ${{ inputs.e2e-build }} | |
| upload-to-bucket: ${{ inputs.e2e-build }} | |
| secrets: | |
| env-file: ${{ secrets.WALLETKIT_ENV_FILE }} | |
| sentry-file: ${{ secrets.WALLETKIT_SENTRY_FILE }} | |
| apple-username: ${{ secrets.APPLE_USERNAME }} | |
| apple-key-id: ${{ secrets.APPLE_KEY_ID }} | |
| apple-key-content: ${{ secrets.APPLE_KEY_CONTENT }} | |
| apple-issuer-id: ${{ secrets.APPLE_ISSUER_ID }} | |
| match-username: ${{ secrets.MATCH_USERNAME }} | |
| match-keychain-password: ${{ secrets.MATCH_KEYCHAIN_PASSWORD }} | |
| match-git-url: ${{ secrets.MATCH_GIT_URL }} | |
| match-ssh-key: ${{ secrets.MATCH_SSH_KEY }} | |
| aws-account-id: ${{ secrets.AWS_ACCOUNT_ID }} | |
| slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }} | |
| testflight-url: ${{ inputs.release-type == 'internal' && vars.TESTFLIGHT_WALLETKIT_INTERNAL_URL || vars.TESTFLIGHT_WALLETKIT_PROD_URL }} |