Skip to content

Commit a9a1bea

Browse files
committed
Move Cocoapods in workflow
1 parent 0e4ec17 commit a9a1bea

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,6 @@ jobs:
7979
asset_name: rswift-${{ github.event.release.tag_name }}.zip
8080
asset_content_type: application/zip
8181

82-
- name: Publish to Cocoapods
83-
run: |
84-
export POD_VERSION=$TAG_NAME
85-
pod trunk push
86-
env:
87-
TAG_NAME: ${{ github.event.release.tag_name }}
88-
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
89-
9082
- name: Archive PKG
9183
run: |
9284
mkdir -p $PKG_ROOT/$BINARY_ROOT
@@ -119,6 +111,14 @@ jobs:
119111
asset_name: rswift-${{ github.event.release.tag_name }}.pkg
120112
asset_content_type: application/pkg
121113

114+
- name: Publish to Cocoapods
115+
run: |
116+
export POD_VERSION=$TAG_NAME
117+
pod trunk push
118+
env:
119+
TAG_NAME: ${{ github.event.release.tag_name }}
120+
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
121+
122122
- name: Publish to Homebrew
123123
run: brew bump-formula-pr --tag $TAG_NAME --revision $REVISION rswift || exit 0
124124

0 commit comments

Comments
 (0)