Skip to content

Commit 5c313aa

Browse files
committed
add google auth
1 parent bccf240 commit 5c313aa

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/update-phonenumbers-lib.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ jobs:
2929
with:
3030
python-version: '3.11'
3131

32+
- name: Authenticate to Google Cloud
33+
uses: google-github-actions/auth@v2
34+
with:
35+
workload_identity_provider: 'projects/394529523748/locations/global/workloadIdentityPools/gha-worker/providers/github-actions'
36+
service_account: 'gha-worker@dp-artifacts-sandbox.iam.gserviceaccount.com'
37+
3238
- name: Version Comparison (Upstream vs Artifact Registry)
3339
id: version_check
3440
run: |
@@ -69,7 +75,7 @@ jobs:
6975
if: steps.version_check.outputs.sync_needed == 'true'
7076
run: |
7177
pip install protobuf pytest
72-
python -m pytest python/dialpad_tests.py
78+
python python/dialpad_tests.py
7379
7480
# - name: Build and publish package
7581
# if: steps.version_check.outputs.sync_needed == 'true'

0 commit comments

Comments
 (0)