Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: refine workflows #477

Merged
merged 2 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
name: Build and Test

on:
repository_dispatch:
types: [build]
pull_request:
branches: ['*']
push:
branches:
- main
workflow_call:

concurrency:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
# 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: Checkout
uses: actions/checkout@v4

- if: ${{ steps.release.outputs.release_created }}
name: Start publish
uses: ./.github/workflows/publish.yml
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,16 @@ range of applications using the [Google Maps SDK for iOS][sdk].

1. In your `Podfile`:

<!-- x-release-please-start-version -->
```ruby
use_frameworks!

target 'TARGET_NAME' do
pod 'GoogleMaps', '8.0.0'
pod 'Google-Maps-iOS-Utils', '5.0.0'
pod 'Google-Maps-iOS-Utils', '5.0.0' # x-release-please-start-version
end
```
<!-- x-release-please-end -->

(You can omit the comment "x-release-please-start-version" which is used for release automation.)
Replace `TARGET_NAME` and save the `Podfile`.

2. At the command line in directory containing your `Podfile`, run:
Expand Down
Loading