From c2dac7f3675d6dc861cd7705d30a4bd3133ca98b Mon Sep 17 00:00:00 2001 From: Nogic <24802730+nogic1008@users.noreply.github.com> Date: Wed, 24 Nov 2021 09:12:51 +0900 Subject: [PATCH] test: add include-prerelease env on test --- __tests__/setup-dotnet.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/__tests__/setup-dotnet.test.ts b/__tests__/setup-dotnet.test.ts index 7ad8be8..aa8e380 100644 --- a/__tests__/setup-dotnet.test.ts +++ b/__tests__/setup-dotnet.test.ts @@ -16,6 +16,7 @@ describe('setup-dotnet tests', () => { process.env.RUNNER_TOOL_CACHE = toolDir; process.env.DOTNET_INSTALL_DIR = toolDir; process.env.RUNNER_TEMP = tempDir; + process.env['INPUT_INCLUDE-PRERELEASE'] = 'false'; await io.rmRF(toolDir); await io.rmRF(tempDir); });