File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ jobs:
1515 - name : Run tests (controlled via environment variable)
1616 run : |
1717 echo "Running nightly tests..."
18- echo "TEST_RESULT_OVERRIDE: ${{ env .TEST_RESULT_OVERRIDE }}"
18+ echo "TEST_RESULT_OVERRIDE: ${{ vars .TEST_RESULT_OVERRIDE }}"
1919
20- if [ -n "${{ env .TEST_RESULT_OVERRIDE }}" ]; then
21- if [ "${{ env .TEST_RESULT_OVERRIDE }}" == "pass" ]; then
20+ if [ -n "${{ vars .TEST_RESULT_OVERRIDE }}" ]; then
21+ if [ "${{ vars .TEST_RESULT_OVERRIDE }}" == "pass" ]; then
2222 echo "Tests passed by override (via environment)!"
2323 exit 0
24- elif [ "${{ env .TEST_RESULT_OVERRIDE }}" == "fail" ]; then
24+ elif [ "${{ vars .TEST_RESULT_OVERRIDE }}" == "fail" ]; then
2525 echo "Tests failed by override (via environment)!"
2626 exit 1
2727 fi
You can’t perform that action at this time.
0 commit comments