File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ discussion :
3
+ types : [created]
4
+ discussion_comment :
5
+ types : [created]
6
+
7
+ jobs :
8
+ agent-answer-questions :
9
+ runs-on : ubuntu-latest
10
+
11
+ steps :
12
+ - name : Checkout repository
13
+ uses : actions/checkout@v4
14
+
15
+ - name : Set up Python
16
+ uses : actions/setup-python@v5
17
+ with :
18
+ python-version : ' 3.11'
19
+
20
+ - name : Authenticate to Google Cloud
21
+ id : auth
22
+ uses : ' google-github-actions/auth@v2'
23
+ with :
24
+ credentials_json : ' ${{ secrets.ADK_GCP_SA_KEY }}'
25
+
26
+ - name : Install dependencies
27
+ run : |
28
+ python -m pip install --upgrade pip
29
+ pip install google-adk
30
+
31
+ - name : Run Answering Script
32
+ env :
33
+ GITHUB_TOKEN : ${{ secrets.ADK_TRIAGE_AGENT }}
34
+ GOOGLE_CLOUD_PROJECT : ${{ secrets.GOOGLE_CLOUD_PROJECT }}
35
+ GOOGLE_CLOUD_LOCATION : ${{ secrets.GOOGLE_CLOUD_LOCATION }}
36
+ VERTEXAI_DATASTORE_ID : ${{ secrets.VERTEXAI_DATASTORE_ID }}
37
+ GOOGLE_GENAI_USE_VERTEXAI : 1
38
+ OWNER : ' google'
39
+ REPO : ' adk-python'
40
+ INTERACTIVE : 0
41
+ DISCUSSION_NUMBER : ${{ github.event.discussion.number }}
42
+ PYTHONPATH : contributing/samples
43
+ run : python -m adk_answering_agent.main
You can’t perform that action at this time.
0 commit comments