Skip to content

Commit

Permalink
Add workflow to publish to CocoaPods
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell committed Nov 21, 2024
1 parent 56e62da commit 6db86f5
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/publish-to-cocoapods.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish SDK to CocoaPods

on:
push:
tags:
- "*"

jobs:
publish:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4

- name: Install Cocoapods
run: gem install cocoapods

- name: Deploy to Cocoapods
run: |
set -eo pipefail
pod lib lint --allow-warnings
pod trunk push --allow-warnings
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}

0 comments on commit 6db86f5

Please sign in to comment.