From d8b8794d51246709f51053f55567df58f426a1ff Mon Sep 17 00:00:00 2001 From: Lucas Manuel Rodriguez Date: Tue, 15 Feb 2022 09:26:28 -0300 Subject: [PATCH] Fix setting of envs for schedule (#4205) * Attempt to fix setting of env for schedule * Revert logic after testing --- .github/workflows/test-go.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-go.yaml b/.github/workflows/test-go.yaml index 09c1524682..ed779243a0 100644 --- a/.github/workflows/test-go.yaml +++ b/.github/workflows/test-go.yaml @@ -52,10 +52,9 @@ jobs: - name: Set Go race setting on schedule if: github.event.schedule == '0 4 * * *' - run: echo "Running go tests with race enabled" - env: - RACE_ENABLED: true - GO_TEST_TIMEOUT: 1h + run: | + echo "RACE_ENABLED=true" >> $GITHUB_ENV + echo "GO_TEST_TIMEOUT=1h" >> $GITHUB_ENV - name: Run Go Tests run: |