This repository was archived by the owner on Feb 10, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (40 loc) · 1.65 KB
/
release.yml
File metadata and controls
42 lines (40 loc) · 1.65 KB
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
name: Publish Package to CocoaPods and npmjs
on:
release:
types: [published]
jobs:
publish-ios-client:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Install Cocoapods
run: gem install cocoapods
- name: Deploy to Cocoapods
run: |
set -eo pipefail
pod lib lint FishjamCloudClient.podspec --allow-warnings --verbose
pod lib lint FishjamCloudBroadcastClient.podspec --allow-warnings --verbose
pod trunk push FishjamCloudClient.podspec --allow-warnings --verbose
pod trunk push FishjamCloudBroadcastClient.podspec --allow-warnings --verbose
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
publish-android-client:
# Packages built by Jitpack are not immediately available upon the creation of a tag or branch.
# Instead, availability occurs when an initial attempt is made to download the specified tag or branch.
# This mechanism ensures that Jitpack only builds a package when it is first requested and efficiently handles the generation of newly released versions.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- name: Fetch POM file
run: yarn jitpack-cache ${{ github.ref_name }}
working-directory: packages/android-client
publish-react-native-client:
needs: [publish-ios-client, publish-android-client]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Publish React Native Client
uses: ./.github/actions/publish-react-native-client
with:
npm-token: ${{ secrets.NPM_TOKEN }}