Xuehua/11 17 2025 merge (#931) #509
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: Cocoapods publish | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| # Only runs on the version update commit | |
| # We need the new podspec available to publish to CocoaPods | |
| publish-to-cocoapods: | |
| if: "contains(github.event.head_commit.author.email, 'flubuild@microsoft.com')" | |
| name: Publish to CocoaPods | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Deploy to CocoaPods | |
| run: | | |
| pod spec lint --allow-warnings --quick | |
| pod trunk push --skip-import-validation --skip-tests --allow-warnings | |
| env: | |
| COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} |