Skip to content

Commit 6c4f0f1

Browse files
authored
Merge pull request #57 from rive-app/publishPodsPipeline
added pod publishing to the CocoaPods
2 parents 4adeba6 + e4a1f2a commit 6c4f0f1

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/build_frameworks.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
path: .github/workflows/podspec.txt
4949
- name: Create *.podspec
5050
run: |
51-
cat > RiveRuntime.podspec <<-EOF
51+
cat > RiveRuntime.podspec <<-EOF
5252
${{ steps.podspec.outputs.text }}
5353
EOF
5454
env:
@@ -93,6 +93,11 @@ jobs:
9393
git config --local user.name ${{ github.actor }}
9494
git add .
9595
git commit -m "Update podspec repo tag:${{ github.event.release.tag_name }}"
96-
git push
96+
git push
9797
env:
98-
API_TOKEN_GITHUB: ${{ secrets.RIVE_REPO_PAT }}
98+
API_TOKEN_GITHUB: ${{ secrets.RIVE_REPO_PAT }}
99+
- name: Publish pod to the CocoaPods
100+
uses: michaelhenry/deploy-to-cocoapods-github-action@1.0.10
101+
env:
102+
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
103+

0 commit comments

Comments
 (0)