Skip to content

Publish specifications on CocoaPods #6

Publish specifications on CocoaPods

Publish specifications on CocoaPods #6

name: Publish specifications on CocoaPods
on:
workflow_dispatch:
release:
types: [created]
jobs:
publish:
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Select Xcode 14.3.1
run: sudo xcode-select --switch /Applications/Xcode_14.3.1.app
- name: Publish 'Numberick-NBKCoreKit.podspec'
run: pod trunk push --allow-warnings --synchronous Numberick-NBKCoreKit.podspec
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
- name: Publish 'Numberick-NBKDoubleWidthKit.podspec'
run: pod trunk push --allow-warnings --synchronous Numberick-NBKDoubleWidthKit.podspec
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
- name: Publish 'Numberick.podspec'
run: pod trunk push --allow-warnings --synchronous Numberick.podspec
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}