File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,14 @@ jobs:
3333
3434 # Install CocoaPods v 1.6.1. Need to use this version since there are issues with running `pod try` on later versions
3535 - name : Install CocoaPods 1.6.1
36- run : |
37- sudo gem install cocoapods -v 1.6.1
36+ uses : maxim-lobanov/setup-cocoapods@v1
37+ with :
38+ version : 1.6.1
3839
3940 # Install CocoaPods v 1.6.1. Need to use this version since there are issues with running `pod try` on later versions
4041 - name : Update CocoaPod Repo
4142 run : |
42- pod _1.6.1_ repo update
43+ pod repo update
4344
4445 # Copy pod try GoogleMaps Objective-C to current copy
4546 - name : Copy pod try GoogleMaps Objective-C changes into current copy
6869
6970 # Commit changes
7071 - name : PR Changes
71- uses : peter-evans/create-pull-request@v2
72+ uses : peter-evans/create-pull-request@v4
7273 if : steps.pod_try_copy.outputs.filtered_lines_modified > 0
7374 with :
7475 token : ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ DESTINATION_DIR="$2"
1818POD_TRY_OPTION=" $3 "
1919
2020echo " Invoking 'pod try $POD_NAME '"
21+
22+ pod _1.6.1_ --verbose try $POD_NAME <<< $POD_TRY_OPTION
23+
2124POD_TRY_DIR=" $( pod _1.6.1_ try $POD_NAME <<< $POD_TRY_OPTION | tail -1 | awk ' {print $2}' | echo " /$( cut -d\/ -f2-11) " ) "
2225
2326echo " Copying contents of '$POD_TRY_DIR ' into '$DESTINATION_DIR '"
You can’t perform that action at this time.
0 commit comments