File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " CocoaPods Token Keep-Alive"
2+
3+ on :
4+ schedule :
5+ # CocoaPods sessions currently expire after 3 days of inactivity (VALIDITY_LENGTH)
6+ # This runs every day at midnight UTC to keep the current token alive
7+ # See: https://github.com/CocoaPods/trunk.cocoapods.org/blob/a1869790e9ae2229b6985b6af4532da814202558/app/models/session.rb#L9
8+ - cron : " 0 0 * * *" # Runs every day at midnight UTC
9+ workflow_dispatch :
10+
11+ permissions :
12+ contents : read
13+
14+ jobs :
15+ keepalive :
16+ name : Refresh CocoaPods Session
17+ runs-on : macos-15
18+ env :
19+ COCOAPODS_TRUNK_TOKEN : ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
20+
21+ steps :
22+ - name : Install CocoaPods
23+ run : gem install cocoapods
24+ - name : Refresh CocoaPods Session
25+ run : pod trunk me > /dev/null 2>&1
You can’t perform that action at this time.
0 commit comments