From 2e90a0bab6e63b60b6ac82e5e484743ba96e754c Mon Sep 17 00:00:00 2001 From: Dominion Date: Sat, 27 May 2023 11:30:09 -0400 Subject: [PATCH] Only set TGS_TEST_DUMP_API_SPEC in the job that needs it --- .github/workflows/ci-suite.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-suite.yml b/.github/workflows/ci-suite.yml index 5b934f08da..bd4f690ed2 100644 --- a/.github/workflows/ci-suite.yml +++ b/.github/workflows/ci-suite.yml @@ -309,8 +309,6 @@ jobs: name: Windows Live Tests needs: dmapi-build if: "!(cancelled() || failure()) && needs.dmapi-build.result == 'success'" - env: - TGS_TEST_DUMP_API_SPEC: yes strategy: fail-fast: false matrix: @@ -327,6 +325,10 @@ jobs: - name: Upgrade NPM run: npm install -g npm + - name: Set TGS_TEST_DUMP_API_SPEC + if: ${{ matrix.configuration == 'Release' && matrix.watchdog-type == 'System' && matrix.database-type == 'SqlServer' }} + run: echo "TGS_TEST_DUMP_API_SPEC=yes" >> $Env:GITHUB_ENV + - name: Set General__UseBasicWatchdog if: ${{ matrix.watchdog-type == 'Basic' }} run: echo "General__UseBasicWatchdog=true" >> $Env:GITHUB_ENV