Skip to content

Use PHPickerViewController in the composer #4027

Use PHPickerViewController in the composer

Use PHPickerViewController in the composer #4027

name: SDK Size
on:
pull_request:
paths-ignore:
- 'README.md'
- 'CHANGELOG.md'
- '**/*.png'
workflow_dispatch:
inputs:
verbose:
description: 'Run in verbose mode?'
type: boolean
required: false
default: false
push:
branches:
- develop
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI
VERBOSE: ${{ github.event.inputs.verbose == 'true' && '--verbose' || '' }}
permissions:
actions: write
contents: read
pull-requests: read
jobs:
sdk_size:
name: Metrics
runs-on: macos-15
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
env:
GITHUB_TOKEN: '${{ secrets.CI_BOT_GITHUB_TOKEN }}'
GITHUB_PR_NUM: ${{ github.event.pull_request.number }}
steps:
- uses: actions/checkout@v3.1.0
- uses: ./.github/actions/ci-guard
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Connect Bot
uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}
- uses: ./.github/actions/bootstrap
- name: Run General SDK Size Metrics
run: bundle exec fastlane show_frameworks_sizes
timeout-minutes: 30
env:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }}
- name: Run Detailed SDK Size Metrics
run: bundle exec fastlane size_analyze ${{ env.VERBOSE }}
timeout-minutes: 30