chore: update gems and workflows #570
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: Storage | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'Gemfile*' | |
| - '.github/workflows/storage.yml' | |
| - 'FirebaseStorageUI/**' | |
| - 'test.sh' | |
| - 'FirebaseStorageUI.podspec' | |
| - 'Package.swift' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'Gemfile*' | |
| - '.github/workflows/storage.yml' | |
| - 'FirebaseStorageUI/**' | |
| - 'test.sh' | |
| - 'FirebaseStorageUI.podspec' | |
| - 'Package.swift' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| xcodebuild: | |
| name: xcodebuild | |
| runs-on: macos-15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Setup | |
| run: | | |
| cd FirebaseStorageUI | |
| gem install bundler | |
| bundle install | |
| gem install xcpretty | |
| bundle exec pod install --repo-update | |
| - name: Build | |
| run: | | |
| ./test.sh FirebaseStorageUI | |
| spm: | |
| name: spm | |
| runs-on: macos-15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Select Xcode version | |
| run: | | |
| sudo xcode-select -switch /Applications/Xcode_26.2.app/Contents/Developer | |
| - name: Install simulators in case they are missing. | |
| uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0 | |
| with: | |
| timeout_minutes: 15 | |
| max_attempts: 5 | |
| retry_wait_seconds: 120 | |
| continue_on_error: true | |
| command: xcodebuild -downloadPlatform iOS | |
| - name: List | |
| run: | | |
| xcodebuild -list | |
| - name: Build | |
| run: | | |
| xcodebuild -scheme FirebaseStorageUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 17 Pro' | |
| pod: | |
| name: pod lib lint | |
| runs-on: macos-15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Select Xcode version | |
| run: | | |
| sudo xcode-select -switch /Applications/Xcode_26.2.app/Contents/Developer | |
| - name: Install simulators in case they are missing. | |
| uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0 | |
| with: | |
| timeout_minutes: 15 | |
| max_attempts: 5 | |
| retry_wait_seconds: 120 | |
| continue_on_error: true | |
| command: xcodebuild -downloadPlatform iOS | |
| - name: Setup | |
| run: gem install bundler; bundle install | |
| - name: Build | |
| run: | | |
| bundle exec pod lib lint FirebaseStorageUI.podspec |