Skip to content

Commit c396b21

Browse files
committed
pods: revert RegexKitLite to trunk spec (SVN) and add CDN source; capture pod install verbose log to ci-logs/pod_install.log
1 parent efe6b99 commit c396b21

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,15 @@ jobs:
8383
run: |
8484
set -euo pipefail
8585
echo "Using CocoaPods $(pod --version)"
86+
mkdir -p "$LOG_DIR"
8687
# First try without repo update (CDN should suffice)
87-
if ! pod install; then
88+
if ! pod install 2>&1 | tee "$LOG_DIR/pod_install.log"; then
8889
echo "pod install failed; cleaning lock/cache and retrying with repo update..."
8990
rm -f Podfile.lock
9091
rm -rf Pods
9192
pod cache clean --all || true
9293
pod repo update || true
93-
pod install --repo-update --verbose
94+
pod install --repo-update --verbose 2>&1 | tee -a "$LOG_DIR/pod_install.log"
9495
fi
9596
9697
- name: Pod env (on failure)

Podfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
source 'https://cdn.cocoapods.org/'
2+
13
platform :osx, '10.11'
24

35
target 'Avro Keyboard' do
4-
# Use a Git mirror to avoid SVN dependency flakiness for RegexKitLite
5-
pod 'RegexKitLite', :git => 'https://github.com/wezm/RegexKitLite.git'
6+
pod 'RegexKitLite', '~> 4.0'
67
pod 'FMDB', '~> 2.1'
78
end

0 commit comments

Comments
 (0)