1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-python synced 2025-06-10 05:12:19 +02:00

refactor: Debug message for Python installation path

This commit is contained in:
Leon Wright 2022-07-26 20:40:49 +08:00
parent d5d67707d2
commit 7e39d25e3f
No known key found for this signature in database
GPG key ID: 95F5A1DE99BFCA3D
2 changed files with 3 additions and 9 deletions

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();