Skip to content

Commit c39a569

Browse files
authored
Update workflow condition and env (#1522)
Signed-off-by: chensuyue <suyue.chen@intel.com>
1 parent 81b02bb commit c39a569

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/_run-docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
9292
compose-test:
9393
needs: [get-test-case]
94-
if: ${{ fromJSON(needs.get-test-case.outputs.test_cases).length != 0 || needs.get-test-case.outputs.test_cases != '' }}
94+
if: ${{ needs.get-test-case.outputs.test_cases != '' }}
9595
strategy:
9696
matrix:
9797
test_case: ${{ fromJSON(needs.get-test-case.outputs.test_cases) }}
@@ -127,6 +127,7 @@ jobs:
127127
shell: bash
128128
env:
129129
HUGGINGFACEHUB_API_TOKEN: ${{ secrets.HUGGINGFACEHUB_API_TOKEN }}
130+
HF_TOKEN: ${{ secrets.HUGGINGFACEHUB_API_TOKEN }}
130131
GOOGLE_CSE_ID: ${{ secrets.GOOGLE_CSE_ID }}
131132
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
132133
PINECONE_KEY: ${{ secrets.PINECONE_KEY }}

0 commit comments

Comments
 (0)