Skip to content

Commit

Permalink
Adds the github workflow to publish the podspec file
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammedDehairy committed Oct 21, 2022
1 parent 17e1011 commit ced2cb1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/publich_podspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish Adyen3DS2.podspec
on: [workflow_dispatch]
jobs:

publish:
runs-on: macos-12
steps:
- uses: actions/checkout@v2

- name: Select latest Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable

- name: Publish Adyen3DS2.podspec
run: |
gem install cocoapods
pod trunk push Adyen3DS2.podspec
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}

0 comments on commit ced2cb1

Please sign in to comment.