Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ab556af

Browse files
committedNov 29, 2024
cd deploy cocoapods
1 parent 7bc1e13 commit ab556af

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
 

‎.github/workflows/cd.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CD
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
tags:
7+
- "*.*.*"
8+
9+
jobs:
10+
release_version:
11+
name: Release Version
12+
runs-on: macos-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- uses: softprops/action-gh-release@v2
18+
with:
19+
generate_release_notes: true
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
23+
- name: Deploy to CocoaPods
24+
env:
25+
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
26+
run: |
27+
set -eo pipefail
28+
pod lib lint --allow-warnings
29+
pod trunk push --allow-warnings

0 commit comments

Comments
 (0)
Please sign in to comment.