Publish Checkout.podspec #20
Workflow file for this run
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: Publish Checkout.podspec | |
| on: workflow_dispatch | |
| jobs: | |
| publish: | |
| environment: CocoaPodsRelease | |
| runs-on: macos-15-xlarge | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
| # - name: Check current branch | |
| # run: | | |
| # if [[ "${GITHUB_REF#refs/heads/}" != "main" && "${GITHUB_REF#refs/heads/}" != release/* ]]; then | |
| # echo "This workflow is expected to run on the main or release branch only." | |
| # exit 1 | |
| # fi | |
| - name: Publish Checkout.podspec | |
| run: | | |
| gem install cocoapods | |
| pod trunk register mobilesdkteam@checkout.com | |
| pod trunk push Checkout.podspec --allow-warnings --verbose | |
| env: | |
| COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} |