refactor: Debug message for Python installation path

This commit is contained in:
Leon Wright committed 2022-07-26 20:40:49 +08:00
1 parent d5d67707d2
commit 7e39d25e3f
2 files changed
+3 -9

No files matched your search

+1 -5
View File
@@ -72,11 +72,7 @@ async function run() {
}
core.debug(
`Python is expected to be installed into ${
process.env.AGENT_TOOLSDIRECTORY?.trim()
? process.env['AGENT_TOOLSDIRECTORY']
: process.env['RUNNER_TOOL_CACHE']
}`
`Python is expected to be installed into ${process.env['RUNNER_TOOL_CACHE']}`
);
try {
const version = resolveVersionInput();