ci: fix auth

This commit is contained in:
Jun Siang Cheah committed 2024-09-01 23:14:03 +01:00
1 parent 4cc7d642ed
commit 524e1c7f7c
1 file changed
+4 -5
+4 -5
View File
@@ -18,12 +18,11 @@ jobs:
- name: Install dependencies
run: |
pip install -r src/requirements.txt
pip install google-auth
- id: 'auth'
uses: 'google-github-actions/auth@v1'
- id: "auth"
uses: "google-github-actions/auth@v2"
with:
workload_identity_provider: 'projects/576328904266/locations/global/workloadIdentityPools/github/providers/github-actions'
project_id: ${{ secrets.GCP_PROJECT_ID }}
workload_identity_provider: "projects/576328904266/locations/global/workloadIdentityPools/github/providers/github-actions"
project_id: ${{ secrets.GCP_PROJECT }}
- name: Run script
env:
GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}