From 78e75c3fe1eaddc85343502f9e100cec3e36e784 Mon Sep 17 00:00:00 2001 From: FalkWoldmann <52786457+FalkWoldmann@users.noreply.github.com> Date: Thu, 7 Dec 2023 15:40:42 +0100 Subject: [PATCH] Use 1 instead of yes because it can be parsed (#204) --- dist/index.js | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 3665c53..0ce0f2e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -82948,7 +82948,7 @@ async function setEnvVars() { core.exportVariable('RTX_TRUSTED_CONFIG_PATHS', path.join(process.cwd(), '.rtx.toml')); } if (!process.env['RTX_YES']) { - core.exportVariable('RTX_YES', 'yes'); + core.exportVariable('RTX_YES', '1'); } } async function restoreRTXCache() { diff --git a/src/main.ts b/src/main.ts index e89af41..530ed93 100644 --- a/src/main.ts +++ b/src/main.ts @@ -28,7 +28,7 @@ async function setEnvVars(): Promise { ) } if (!process.env['RTX_YES']) { - core.exportVariable('RTX_YES', 'yes') + core.exportVariable('RTX_YES', '1') } }