-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 842 Bytes
/
publish.yml
File metadata and controls
34 lines (28 loc) · 842 Bytes
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
name: Publish pods to CocoaPods
on:
workflow_dispatch:
jobs:
release:
name: Create release
runs-on: macos-latest
steps:
- name: Checkout scripts
uses: actions/checkout@v4
with:
token: ${{ secrets.SDK_BOT_ACCESS_TOKEN }}
path: scripts
repository: moengage/sdk-automation-scripts
- name: Setup dev environment
uses: ./scripts/actions/ios-action-setup
env:
SDK_BOT_ACCESS_TOKEN: ${{ secrets.SDK_BOT_ACCESS_TOKEN }}
- name: Checkout release repository
uses: actions/checkout@v4
with:
ref: master
path: source
- name: Publish to CocoaPods
run: ${{ github.workspace }}/scripts/scripts/release/ios/pod_push.rb
working-directory: source
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}