Skip to content

CocoaPods Publish

CocoaPods Publish #7

Workflow file for this run

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