-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (40 loc) · 1.04 KB
/
pod-deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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)