5.0.0 Release Candidate 4 #64
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push to Podspecs Repo | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: macos-latest | |
env: | |
RELEASE_TAG_NAME: ${{ github.event.release.tag_name }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install CocoaPods | |
run: gem install cocoapods | |
- name: Lint Core | |
run: pod lib lint SwedbankPaySDK.podspec | |
- name: Lint MB | |
run: pod lib lint --include-podspecs=SwedbankPaySDK.podspec SwedbankPaySDKMerchantBackend.podspec | |
- name: Push Core | |
run: pod trunk push --synchronous SwedbankPaySDK.podspec | |
env: | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | |
- name: Push MB | |
run: pod trunk push --synchronous SwedbankPaySDKMerchantBackend.podspec | |
env: | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} |