Use 1 instead of yes because it can be parsed (#204)

This commit is contained in:
FalkWoldmann 2023-12-07 15:40:42 +01:00 committed by GitHub
parent 67a16b95ca
commit 78e75c3fe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
dist/index.js generated vendored
View file

@ -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() {

View file

@ -28,7 +28,7 @@ async function setEnvVars(): Promise<void> {
)
}
if (!process.env['RTX_YES']) {
core.exportVariable('RTX_YES', 'yes')
core.exportVariable('RTX_YES', '1')
}
}