Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
pallabmaiti committed Jan 24, 2023
1 parent 95b489a commit f8a47a7
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy-cocoapods-manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy to Cocoapods(Manually)

on:
workflow_dispatch

jobs:
deploy-cocoapods-manual:
name: Draft a new release
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/heads/master') || startsWith(github.ref, 'refs/heads/master-v2')
steps:
- name: Checkout source branch
uses: actions/checkout@v3

- name: Select Xcode version
run: sudo xcode-select -s '/Applications/Xcode_13.2.1.app/Contents/Developer'

- name: Install Cocoapods
run: gem install cocoapods

- name: Publish to CocoaPod
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
run: |
pod trunk push --allow-warnings

0 comments on commit f8a47a7

Please sign in to comment.