Update api names list #21
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
name: Update api names list | |
on: | |
workflow_dispatch: | |
jobs: | |
Update: | |
permissions: | |
contents: 'read' | |
id-token: 'write' | |
pull-requests: 'write' | |
defaults: | |
run: | |
shell: bash | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- id: 'auth' | |
name: 'Authenticate to Google Cloud' | |
uses: 'google-github-actions/[email protected]' | |
with: | |
workload_identity_provider: "projects/963616447866/locations/global/workloadIdentityPools/gh-deploy-dev-portal-rd/providers/gh-dev-portal-provider-rd" | |
service_account: "deploy-cloudrun-cicd@premise-developer-portal-rd.iam.gserviceaccount.com" | |
- name: Set up Cloud SDK | |
uses: google-github-actions/[email protected] | |
with: | |
version: '363.0.0' | |
- name: Install gcloud beta | |
run: gcloud components install beta | |
- name: Listing auths | |
run: gcloud auth list --filter=status:ACTIVE --format="value(account)" | |
# - name: Python setup | |
# uses: actions/setup-python@v4 | |
# - name: Install google api | |
# run: pip install google-api-python-client | |
# - name: Runing python list | |
# run: python test_api_list.py | |
- name: List services | |
run: gcloud services list |