Skip to content

1.0.0

1.0.0 #2

Workflow file for this run

name: Pod Deploy
on:
release:
types:
- created
jobs:
swiftLint:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Install Bundle
run: bundle install
- name: Install Swiftlint
run: brew install swiftlint
- name: Run swiftlint
run: bundle exec fastlane lint
deploy:
name: Deploy
needs: swiftLint
runs-on: macos-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=14.4,name=iPhone 12 Pro Max']
steps:
- uses: actions/checkout@v2
- name: Install Bundle
run: bundle install
- name: Unit Test
run: bundle exec fastlane test
env:
destination: ${{ matrix.destination }}
- name: Pod Lib Lint
run: bundle exec fastlane podlibLint
- name: Publish to CocoaPod register
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
run: |
pod trunk push MobileCore.podspec
- name: Updload to codecov
run: bash <(curl -s https://codecov.io/bash)