CocoaPods Publish #7
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: CocoaPods Publish | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- v*.*.** | |
permissions: | |
contents: write | |
jobs: | |
publish-cocoapods: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.AUTOMATION_USER_TOKEN }} | |
fetch-depth: 0 | |
- name: Fix WatchOS Simulators | |
run: | | |
./scripts/fix_watchos_simulators.sh | |
- name: Publish to CocoaPods | |
env: | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | |
run: | | |
pod trunk push DevCycle.podspec --allow-warnings --verbose | |