Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Google GAPIC Action

This action generates a pull request for the GAPIC libary. See googleapis/googleapis for more information.

Inputs

target

Required Bazel target for client library tar in googleapis/googleapis.

github_token

Required Bazel target for client library tar in googleapis/googleapis.

tar_path

Required Path in tar to extract.

tar_strip_components

Required Number of components to strip from tar path.

git_name

Git name for commit.

git_email

Git email for commit.

cache_service_account

Service account json string for Bazel cache.

cache_bucket

Bucket name for Bazel cache.

Usage

uses: googlemaps/actions/gapic@master
  with:
    target: //google/maps/routes/v1:gapic-maps-routes-v1-go
    github_token: ${{ secrets.GITHUB_TOKEN }}
    tar_path: gapic-maps-routes-v1-go/cloud.google.com/go/maps
    tar_strip_components: 4
    cache_service_account: ${{ secrets.SERVICE_ACCOUNT_CACHE }}