Skip to content

Commit ed589fa

Browse files
committed
Update test.yaml
1 parent dff869c commit ed589fa

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/test.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@ on:
88
jobs:
99
test:
1010
runs-on: ubuntu-latest
11-
environment: eval
11+
environment: my-test-env
1212
steps:
1313
- uses: actions/checkout@v2
1414

1515
- name: secret
1616
env:
17-
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
18-
TEST_KEY: ${{ secrets.TEST_KEY }}
17+
MY_TEST_VAR: ${{ secrets.MY_TEST_VAR }}
1918
run: |
20-
if [ -n "$GEMINI_API_KEY" ]; then echo "GEMINI_API_KEY is set (${#GEMINI_API_KEY} chars)"; else echo "GEMINI_API_KEY is NOT set"; fi
21-
if [ -n "$TEST_KEY" ]; then echo "TEST_KEY is set (${#TEST_KEY} chars)"; else echo "TEST_KEY is NOT set"; fi
19+
echo "MY_TEST_VAR has ${#MY_TEST_VAR} chars"

0 commit comments

Comments
 (0)