We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aac2a9f commit 3339776Copy full SHA for 3339776
1 file changed
.github/workflows/nightly.yaml
@@ -15,13 +15,13 @@ jobs:
15
- name: Run tests (controlled via environment variable)
16
run: |
17
echo "Running nightly tests..."
18
- echo "TEST_RESULT_OVERRIDE: ${{ env.TEST_RESULT_OVERRIDE }}"
+ echo "TEST_RESULT_OVERRIDE: ${{ vars.TEST_RESULT_OVERRIDE }}"
19
20
- if [ -n "${{ env.TEST_RESULT_OVERRIDE }}" ]; then
21
- if [ "${{ env.TEST_RESULT_OVERRIDE }}" == "pass" ]; then
+ if [ -n "${{ vars.TEST_RESULT_OVERRIDE }}" ]; then
+ if [ "${{ vars.TEST_RESULT_OVERRIDE }}" == "pass" ]; then
22
echo "Tests passed by override (via environment)!"
23
exit 0
24
- elif [ "${{ env.TEST_RESULT_OVERRIDE }}" == "fail" ]; then
+ elif [ "${{ vars.TEST_RESULT_OVERRIDE }}" == "fail" ]; then
25
echo "Tests failed by override (via environment)!"
26
exit 1
27
fi
0 commit comments