Skip to content

Commit a79efe2

Browse files
committed
CocoaPods push fix
Pass livekit source to push command
1 parent 14332fb commit a79efe2

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/cocoapods-push.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
uses: maxim-lobanov/setup-xcode@v1
2525
with:
2626
xcode-version: latest-stable
27+
- name: Add Repo
28+
run: |
29+
pod repo add livekit https://github.com/livekit/podspecs.git
2730
- name: Spec Lint
2831
id: spec-lint
2932
run: |
@@ -35,7 +38,7 @@ jobs:
3538
--no-clean \
3639
--allow-warnings \
3740
--verbose \
38-
--sources=https://github.com/livekit/podspecs.git/,https://cdn.cocoapods.org/
41+
--sources=livekit,https://cdn.cocoapods.org/
3942
- name: Upload Validation Directory (Failure Only)
4043
if: failure()
4144
uses: actions/upload-artifact@v4
@@ -44,6 +47,10 @@ jobs:
4447
name: validation
4548
- name: Push to CocoaPods
4649
if: ${{ inputs.dry_run != true && success() }}
47-
run: pod trunk push ${{ env.PODSPEC_FILE }} --allow-warnings --verbose
50+
run: |
51+
pod trunk push ${{ env.PODSPEC_FILE }} \
52+
--allow-warnings \
53+
--verbose \
54+
--sources=livekit,https://cdn.cocoapods.org/
4855
env:
4956
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}

0 commit comments

Comments
 (0)