Skip to content

Commit

Permalink
chore: refine workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
wangela committed Jul 30, 2024
1 parent c4af22e commit 7e24b86
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
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

0 comments on commit 7e24b86

Please sign in to comment.