5.4.0 #24
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: Cocoapods Release | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Select Xcode | |
run: sudo xcode-select -switch /Applications/Xcode_12.3.app | |
- name: Xcode version | |
run: /usr/bin/xcodebuild -version | |
- name: Run pod spec lint | |
env: | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | |
run: | | |
pod spec lint OutbrainSDK.podspec --allow-warnings | |
- name: Publish to CocoaPod | |
env: | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | |
run: | | |
pod trunk push OutbrainSDK.podspec --allow-warnings |