Beta deploy to Cocoapods #7
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: Beta deploy to Cocoapods | |
on: | |
workflow_dispatch | |
jobs: | |
deploy-cocoapods-beta: | |
name: Beta deploy to Cocoapods | |
runs-on: macOS-latest | |
if: startsWith(github.ref, 'refs/heads/beta-release/') | |
steps: | |
- name: Checkout source branch | |
uses: actions/checkout@v4 | |
- name: Install Cocoapods | |
run: gem install cocoapods | |
- name: Publish to CocoaPod | |
env: | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | |
run: | | |
pod trunk push --allow-warnings |