Skip to content

Commit 0306b37

Browse files
authored
ci: Add build step to pull from Carthage. (#113)
* ci: Add build step to pull from Carthage. Change-Id: I170a1406a7101b4bc654d9a707c1d54713362622 * Use correct comment delimeter Change-Id: I84b17263a23dbf958bc02040b25ea22540e9a6f5
1 parent e39a08c commit 0306b37

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,22 @@ jobs:
4848
-scheme MapsBetaSnippets \
4949
-destination platform\=iOS\ Simulator,OS\=13.3,name\=iPhone\ 8 build | xcpretty
5050
51+
build-snippets-carthage:
52+
runs-on: macos-latest
53+
54+
steps:
55+
- name: Checkout repository
56+
uses: actions/checkout@v2
57+
58+
- name: Install Carthage
59+
run: |
60+
brew install carthage
61+
62+
- name: Run carthage update
63+
run: |
64+
cd snippets
65+
carthage update --platform iOS
66+
5167
build-MapsSnippets:
5268
runs-on: macos-latest
5369

snippets/Cartfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// [START maps_ios_get_started_install_carthage]
1+
# [START maps_ios_get_started_install_carthage]
22
binary "https://dl.google.com/geosdk/GoogleMaps.json" == 5.2.0
3-
// [END maps_ios_get_started_install_carthage]
3+
# [END maps_ios_get_started_install_carthage]
44

5-
// [START maps_ios_places_get_started_install_carthage]
5+
# [START maps_ios_places_get_started_install_carthage]
66
binary "https://dl.google.com/geosdk/GooglePlaces.json" == 5.1.0
7-
// [END maps_ios_places_get_started_install_carthage]
7+
# [END maps_ios_places_get_started_install_carthage]

0 commit comments

Comments
 (0)