Skip to content

Commit

Permalink
Create deploy_to_cocoapods.yml (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwebrtc authored Jan 13, 2025
1 parent 67c4d65 commit 3372664
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy_to_cocoapods.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: deploy_to_cocoapods

on:
push:
tags:
- '*'

jobs:
build:

runs-on: macOS-latest

steps:
- uses: actions/checkout@v1

- name: Install Cocoapods
run: gem install cocoapods

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

0 comments on commit 3372664

Please sign in to comment.