Only set TGS_TEST_DUMP_API_SPEC in the job that needs it

This commit is contained in:
Dominion
2023-05-27 11:30:09 -04:00
parent aca475dda2
commit 2e90a0bab6
+4 -2
View File
@@ -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