Add multi-address support to "Faucet" button #16
Workflow file for this run
This file contains 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: Mobile Builds | |
run-name: Building mobile apps 📱 | |
on: | |
pull_request: | |
branches: [dev, main, release/*, hotfix/*, feature/*] | |
workflow_dispatch: | |
release: | |
types: [created] | |
jobs: | |
build_mobile: | |
name: Build Mobile (${{ matrix.platform }}) | |
runs-on: ${{ matrix.runner }} | |
continue-on-error: true | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- platform: iOS | |
runner: macos-latest | |
build_command: flutter build ios --release --no-codesign | |
artifact_path: build/ios/iphoneos/Runner.app | |
artifact_name: komodo-wallet-ios-unsigned.app | |
- platform: Android | |
runner: ubuntu-latest | |
build_command: flutter build apk --release | |
artifact_path: build/app/outputs/flutter-apk/app-release.apk | |
artifact_name: komodo-wallet-android-unsigned.apk | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Flutter and dependencies | |
uses: ./.github/actions/flutter-deps | |
- name: Setup iOS environment | |
if: ${{ matrix.platform == 'iOS' }} | |
uses: ./.github/actions/releases/setup-ios | |
with: | |
p12-file-base64: ${{ secrets.IOS_P12_BASE64 }} | |
p12-password: ${{ secrets.IOS_P12_PASSWORD }} | |
bundle-id: "com.komodo.wallet" | |
profile-type: "IOS_APP_STORE" | |
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }} | |
api-key-id: ${{ secrets.APPSTORE_KEY_ID }} | |
api-private-key: ${{ secrets.APPSTORE_PRIVATE_KEY }} | |
- name: Setup Android environment | |
if: ${{ matrix.platform == 'Android' }} | |
uses: ./.github/actions/releases/setup-android | |
with: | |
keystore-base64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }} | |
key-alias: ${{ secrets.ANDROID_KEY_ALIAS }} | |
store-password: ${{ secrets.ANDROID_STORE_PASSWORD }} | |
key-password: ${{ secrets.ANDROID_KEY_PASSWORD }} | |
- name: Fetch packages and generate assets | |
uses: ./.github/actions/generate-assets | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# Use default value for BUILD_COMMAND, as iOS does not appear to run | |
# the build transformer required to generate the required assets. | |
- name: Build for ${{ matrix.platform }} | |
env: | |
GITHUB_API_PUBLIC_READONLY_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: ${{ matrix.build_command }} | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.artifact_name }} | |
path: ${{ matrix.artifact_path }} | |
retention-days: 5 |