-
Notifications
You must be signed in to change notification settings - Fork 28
29 lines (29 loc) · 1.03 KB
/
release-swift.yaml
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
name: Publish a Swift release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-BETA-[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-ALPHA-[0-9]+'
jobs:
publish-cocoapods-libraries:
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.0'
- name: Publish KMPObservableViewModelCoreObjC
run: pod trunk push KMPObservableViewModelCoreObjC.podspec --synchronous
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
- name: Publish KMPObservableViewModelCore
run: pod trunk push KMPObservableViewModelCore.podspec --synchronous
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
- name: Publish KMPObservableViewModelSwiftUI
run: pod trunk push KMPObservableViewModelSwiftUI.podspec --synchronous
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}