Skip to content

Commit 1ee4632

Browse files
committed
chore: publish to cocoapods workflow
1 parent dd3cbc5 commit 1ee4632

File tree

3 files changed

+148
-0
lines changed

3 files changed

+148
-0
lines changed

.github/workflows/publish.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish To CocoaPods
2+
3+
on:
4+
release:
5+
types: [created]
6+
workflow_dispatch:
7+
8+
env:
9+
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
10+
11+
jobs:
12+
publish:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Ruby & Bundle install
19+
uses: ruby/setup-ruby@v1
20+
with:
21+
ruby-version: "3.1"
22+
bundler-cache: true # also runs 'bundle install'
23+
24+
- name: Sanity Check
25+
run: |
26+
bundle exec pod trunk me
27+
bundle exec pod spec lint
28+
29+
- name: Publish
30+
run: |
31+
bundle exec pod trunk push

Gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source "https://rubygems.org"
2+
3+
gem "cocoapods", "1.15.2"

Gemfile.lock

+114
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
CFPropertyList (3.0.7)
5+
base64
6+
nkf
7+
rexml
8+
activesupport (7.2.1)
9+
base64
10+
bigdecimal
11+
concurrent-ruby (~> 1.0, >= 1.3.1)
12+
connection_pool (>= 2.2.5)
13+
drb
14+
i18n (>= 1.6, < 2)
15+
logger (>= 1.4.2)
16+
minitest (>= 5.1)
17+
securerandom (>= 0.3)
18+
tzinfo (~> 2.0, >= 2.0.5)
19+
addressable (2.8.7)
20+
public_suffix (>= 2.0.2, < 7.0)
21+
algoliasearch (1.27.5)
22+
httpclient (~> 2.8, >= 2.8.3)
23+
json (>= 1.5.1)
24+
atomos (0.1.3)
25+
base64 (0.2.0)
26+
bigdecimal (3.1.5)
27+
claide (1.1.0)
28+
cocoapods (1.15.2)
29+
addressable (~> 2.8)
30+
claide (>= 1.0.2, < 2.0)
31+
cocoapods-core (= 1.15.2)
32+
cocoapods-deintegrate (>= 1.0.3, < 2.0)
33+
cocoapods-downloader (>= 2.1, < 3.0)
34+
cocoapods-plugins (>= 1.0.0, < 2.0)
35+
cocoapods-search (>= 1.0.0, < 2.0)
36+
cocoapods-trunk (>= 1.6.0, < 2.0)
37+
cocoapods-try (>= 1.1.0, < 2.0)
38+
colored2 (~> 3.1)
39+
escape (~> 0.0.4)
40+
fourflusher (>= 2.3.0, < 3.0)
41+
gh_inspector (~> 1.0)
42+
molinillo (~> 0.8.0)
43+
nap (~> 1.0)
44+
ruby-macho (>= 2.3.0, < 3.0)
45+
xcodeproj (>= 1.23.0, < 2.0)
46+
cocoapods-core (1.15.2)
47+
activesupport (>= 5.0, < 8)
48+
addressable (~> 2.8)
49+
algoliasearch (~> 1.0)
50+
concurrent-ruby (~> 1.1)
51+
fuzzy_match (~> 2.0.4)
52+
nap (~> 1.0)
53+
netrc (~> 0.11)
54+
public_suffix (~> 4.0)
55+
typhoeus (~> 1.0)
56+
cocoapods-deintegrate (1.0.5)
57+
cocoapods-downloader (2.1)
58+
cocoapods-plugins (1.0.0)
59+
nap
60+
cocoapods-search (1.0.1)
61+
cocoapods-trunk (1.6.0)
62+
nap (>= 0.8, < 2.0)
63+
netrc (~> 0.11)
64+
cocoapods-try (1.2.0)
65+
colored2 (3.1.2)
66+
concurrent-ruby (1.3.4)
67+
connection_pool (2.4.1)
68+
drb (2.2.0)
69+
ruby2_keywords
70+
escape (0.0.4)
71+
ethon (0.16.0)
72+
ffi (>= 1.15.0)
73+
ffi (1.17.0-arm64-darwin)
74+
ffi (1.17.0-x86_64-linux-gnu)
75+
fourflusher (2.3.1)
76+
fuzzy_match (2.0.4)
77+
gh_inspector (1.1.3)
78+
httpclient (2.8.3)
79+
i18n (1.14.6)
80+
concurrent-ruby (~> 1.0)
81+
json (2.7.1)
82+
logger (1.6.0)
83+
minitest (5.20.0)
84+
molinillo (0.8.0)
85+
nanaimo (0.3.0)
86+
nap (1.1.0)
87+
netrc (0.11.0)
88+
nkf (0.1.3)
89+
public_suffix (4.0.7)
90+
rexml (3.3.7)
91+
ruby-macho (2.5.1)
92+
ruby2_keywords (0.0.5)
93+
securerandom (0.3.1)
94+
typhoeus (1.4.1)
95+
ethon (>= 0.9.0)
96+
tzinfo (2.0.6)
97+
concurrent-ruby (~> 1.0)
98+
xcodeproj (1.25.0)
99+
CFPropertyList (>= 2.3.3, < 4.0)
100+
atomos (~> 0.1.3)
101+
claide (>= 1.0.2, < 2.0)
102+
colored2 (~> 3.1)
103+
nanaimo (~> 0.3.0)
104+
rexml (>= 3.3.2, < 4.0)
105+
106+
PLATFORMS
107+
arm64-darwin
108+
x86_64-linux
109+
110+
DEPENDENCIES
111+
cocoapods (= 1.15.2)
112+
113+
BUNDLED WITH
114+
2.5.3

0 commit comments

Comments
 (0)