Skip to content

v2.0.0

v2.0.0 #3

name: Release on CocoaPods
on:
release:
types: [ published ]
env:
DEVELOPER_DIR: /Applications/Xcode_14.2.app/Contents/Developer
jobs:
release-cocoapods:
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Ruby & Bundle setup
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
bundler-cache: true
- name: Deploy to Cocoapods
run: |
set -eo pipefail
pod lib lint --allow-warnings
pod trunk push --allow-warnings
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}