-
Notifications
You must be signed in to change notification settings - Fork 675
34 lines (33 loc) · 1020 Bytes
/
publish-ios.yml
File metadata and controls
34 lines (33 loc) · 1020 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 Native iOS Libraries
on:
workflow_dispatch:
inputs:
plugins:
description: 'Specify a set of plugins to publish (as a JSON array, ex: [\"camera\", \"browser\"])'
required: true
jobs:
publish-ios:
runs-on: macos-15
if: github.event.inputs.plugins != '[]'
timeout-minutes: 30
strategy:
matrix:
plugin: ${{ fromJson(github.event.inputs.plugins) }}
steps:
- run: sudo xcode-select --switch /Applications/Xcode_26.0.app
- run: xcrun simctl list > /dev/null
- run: xcodebuild -downloadPlatform iOS
- uses: actions/setup-node@v6
with:
node-version: 22
- uses: actions/checkout@v5
- name: Install Cocoapods
run: |
gem install cocoapods
- name: Deploy to Cocoapods
run: |
set -eo pipefail
npm run publish:cocoapod
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
working-directory: ${{ matrix.plugin }}