Skip to content

Commit e9cd0d8

Browse files
committed
Fixing environment variables definition.
1 parent 6ab784e commit e9cd0d8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/Tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ on:
99

1010
env:
1111
PY_VERSION: 3.6
12-
YK_FACE_BASE_URL: ${{ secrets.YK_FACE_BASE_URL }}
13-
YK_FACE_X_API_KEY: ${{ secrets.YK_FACE_X_API_KEY }}
1412

1513
jobs:
1614
testing:
@@ -23,6 +21,10 @@ jobs:
2321
with:
2422
python-version: ${{ env.PY_VERSION }}
2523

24+
-name: Set environment variables
25+
run: |
26+
echo "YK_FACE_BASE_URL=${{ secrets.YK_FACE_BASE_URL }}" >> $GITHUB_ENV
27+
echo "YK_FACE_X_API_KEY=${{ secrets.YK_FACE_X_API_KEY }}" >> $GITHUB_ENV
2628
- name: Install dependencies
2729
run: |
2830
pip install -U pip wheel

0 commit comments

Comments
 (0)