Update workflow condition and env (#1522)
Signed-off-by: chensuyue <suyue.chen@intel.com>
This commit is contained in:
3
.github/workflows/_run-docker-compose.yml
vendored
3
.github/workflows/_run-docker-compose.yml
vendored
@@ -91,7 +91,7 @@ jobs:
|
||||
|
||||
compose-test:
|
||||
needs: [get-test-case]
|
||||
if: ${{ fromJSON(needs.get-test-case.outputs.test_cases).length != 0 || needs.get-test-case.outputs.test_cases != '' }}
|
||||
if: ${{ needs.get-test-case.outputs.test_cases != '' }}
|
||||
strategy:
|
||||
matrix:
|
||||
test_case: ${{ fromJSON(needs.get-test-case.outputs.test_cases) }}
|
||||
@@ -127,6 +127,7 @@ jobs:
|
||||
shell: bash
|
||||
env:
|
||||
HUGGINGFACEHUB_API_TOKEN: ${{ secrets.HUGGINGFACEHUB_API_TOKEN }}
|
||||
HF_TOKEN: ${{ secrets.HUGGINGFACEHUB_API_TOKEN }}
|
||||
GOOGLE_CSE_ID: ${{ secrets.GOOGLE_CSE_ID }}
|
||||
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
|
||||
PINECONE_KEY: ${{ secrets.PINECONE_KEY }}
|
||||
|
||||
Reference in New Issue
Block a user