Fix release build pipeline release 1.1.1 (#84) #8
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
# This workflow release package on Cocoapods. | |
name: Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install CocoaPods | |
run: gem install cocoapods | |
- name: Prepare and Publish | |
env: | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | |
run: | | |
set -eo pipefail | |
pod lib lint --allow-warnings | |
pod trunk push RichEditorSwiftUI.podspec --allow-warnings |