File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ inputs:
27
27
description : " The Pinecone environment"
28
28
required : true
29
29
type : string
30
+ google-api-key :
31
+ description : " Google Maps API key"
32
+ required : true
33
+ type : string
30
34
31
35
runs :
32
36
using : " composite"
93
97
shell : bash
94
98
run : |
95
99
touch ./.env
100
+ echo "GOOGLE_MAPS_API_KEY=${{ env.GOOGLE_MAPS_API_KEY }}" >> ./.env
96
101
echo "OPENAI_API_ORGANIZATION=${{ env.OPENAI_API_ORGANIZATION }}" >> ./.env
97
102
echo "OPENAI_API_KEY=${{ env.OPENAI_API_KEY }}" >> ./.env
98
103
echo "PINECONE_API_KEY=${{ env.PINECONE_API_KEY }}" >> ./.env
@@ -103,6 +108,7 @@ runs:
103
108
OPENAI_API_KEY : ${{ inputs.openai-api-key }}
104
109
PINECONE_API_KEY : ${{ inputs.pinecone-api-key }}
105
110
PINECONE_ENVIRONMENT : ${{ inputs.pinecone-environment }}
111
+ GOOGLE_MAPS_API_KEY : ${{ inputs.google-api-key }}
106
112
107
113
- name : Run Python unit tests
108
114
shell : bash
Original file line number Diff line number Diff line change 32
32
uses : ./.github/actions/tests/python
33
33
with :
34
34
python-version : " ${{ env.python-version}}"
35
+ google-api-key : " ${{ secrets.GOOGLE_API_KEY }}"
35
36
openai-api-organization : " ${{ secrets.OPENAI_API_ORGANIZATION }}"
36
37
openai-api-key : " ${{ secrets.OPENAI_API_KEY }}"
37
38
pinecone-api-key : " ${{ secrets.PINECONE_API_KEY }}"
Original file line number Diff line number Diff line change 38
38
uses : ./.github/actions/tests/python
39
39
with :
40
40
python-version : " ${{ env.python-version}}"
41
+ google-api-key : " ${{ secrets.GOOGLE_API_KEY }}"
41
42
openai-api-organization : " ${{ secrets.OPENAI_API_ORGANIZATION }}"
42
43
openai-api-key : " ${{ secrets.OPENAI_API_KEY }}"
43
44
pinecone-api-key : " ${{ secrets.PINECONE_API_KEY }}"
You can’t perform that action at this time.
0 commit comments