-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Bump minimum to iOS 14 (#444)
* feat!: Bump minimum to iOS 14 * chore: migrate from src and test to Sources and Test * chore: flatten header directory structure * Added example model of MockMapView.. * refactor: rename ObjC target * fix: use exported to expose ObjC to Swift * feat: add privacy manifest (empty) * chore: consolidate build and test workflows * chore: convert to release please * chore: add publish workflow * chore: remove obsolete files * chore: update contributing guide --------- Co-authored-by: Wayne Bishop <waynewbishop@users.noreply.github.com>
- Loading branch information
1 parent
c061e69
commit bde2a17
Showing
197 changed files
with
1,594 additions
and
3,244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Copyright 2024 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# A workflow that publishes the library to CocoaPods | ||
name: Publish | ||
|
||
on: | ||
workflow_call: # called when release-please steps.release.outputs.release_created | ||
workflow_dispatch: # manually trigger if previous runs failed | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build-and-test: | ||
uses: ./.github/workflows/build.yml | ||
|
||
publish: | ||
runs-on: ubuntu-latest | ||
needs: build-and-test | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install CocoaPods | ||
run: sudo gem install cocoapods | ||
|
||
- name: pod trunk push | ||
env: | ||
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | ||
run: pod trunk push Google-Maps-iOS-Utils.podspec | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
name: Release Please | ||
|
||
jobs: | ||
release-please: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: googleapis/release-please-action@v4 | ||
id: release | ||
with: | ||
config-file: release-please-config.json | ||
manifest-file: .release-please-manifest.json | ||
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }} | ||
default-branch: main | ||
|
||
- name: Echo release outputs | ||
if: ${{ steps.release.outputs }} | ||
run: echo '${{ toJson(steps.release) }}' | ||
continue-on-error: true | ||
|
||
# Call the Publish workflow to publish to CocoaPods when a release is cut. | ||
# Note the "if" statement on all commands to make sure that publishing | ||
# only happens when a release is cut. | ||
|
||
- if: ${{ steps.release.outputs.release_created }} | ||
name: Start publish | ||
uses: ./.github/workflows/publish.yml |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
.DS_Store | ||
.build/ | ||
build/ | ||
.build/ | ||
.swiftpm/ | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
|
Oops, something went wrong.