-
Notifications
You must be signed in to change notification settings - Fork 32
59 lines (59 loc) · 2.01 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Publish a Swift release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-ALPHA-[0-9]+'
jobs:
publish-cocoapods-libraries:
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '14.1'
- name: Publish KMPNativeCoroutinesCore
run: pod trunk push KMPNativeCoroutinesCore.podspec --synchronous
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
- name: Publish KMPNativeCoroutinesAsync
run: pod trunk push KMPNativeCoroutinesAsync.podspec --synchronous
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
- name: Publish KMPNativeCoroutinesCombine
run: pod trunk push KMPNativeCoroutinesCombine.podspec --synchronous
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
- name: Publish KMPNativeCoroutinesRxSwift
run: pod trunk push KMPNativeCoroutinesRxSwift.podspec --synchronous
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
publish-spm-tags:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Publish Async SPM tag
uses: ./.github/actions/publish-spm-tag
with:
package-name: async
version-name: ${{ github.ref_name }}
- name: Publish Combine SPM tag
uses: ./.github/actions/publish-spm-tag
with:
package-name: combine
version-name: ${{ github.ref_name }}
- name: Publish RxSwift SPM tag
uses: ./.github/actions/publish-spm-tag
with:
package-name: rxswift
version-name: ${{ github.ref_name }}
- name: Publish no-deps SPM tag
uses: ./.github/actions/publish-spm-tag
with:
package-name: no-deps
version-name: ${{ github.ref_name }}