Updated podspec to match the repo file structure #6
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: Push CocoaPod on Tag | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
push_pod: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Ruby environment | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' # Make sure this version matches your project's Ruby version | |
- name: Install CocoaPods | |
run: gem install cocoapods | |
- name: Validate Podspec | |
run: pod lib lint ./ORLib/ORLib.podspec | |
- name: Push to CocoaPods Trunk | |
run: pod trunk push ./ORLib/ORLib.podspec --allow-warnings | |
env: | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} |