Skip to content

5.4.0

5.4.0 #24

Workflow file for this run

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