Skip to content

Commit 2f47aa7

Browse files
authored
Create cocoapods.yml
1 parent f2a9a31 commit 2f47aa7

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/cocoapods.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
name: Cocoapods release
3+
on:
4+
push:
5+
paths:
6+
"PublishedObject.podspec"
7+
8+
jobs:
9+
build:
10+
runs-on: macOS-latest
11+
12+
steps:
13+
- uses: actions/checkout@v1
14+
- name: Publish to CocoaPod register
15+
env:
16+
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
17+
run: |
18+
pod trunk push PublishedObject.podspec

0 commit comments

Comments
 (0)