mirror of
https://code.forgejo.org/actions/setup-python
synced 2025-07-07 01:35:59 +02:00
Merge fa6dd954ee
into 532b046aaf
This commit is contained in:
commit
c7b7259302
1 changed files with 2 additions and 1 deletions
|
@ -127,7 +127,8 @@ function resolveVersionInput() {
|
|||
|
||||
async function run() {
|
||||
if (IS_MAC) {
|
||||
process.env['AGENT_TOOLSDIRECTORY'] = '/Users/runner/hostedtoolcache';
|
||||
const home = process.env['HOME'] || '/Users/runner'
|
||||
process.env['AGENT_TOOLSDIRECTORY'] = `${home}/hostedtoolcache`;
|
||||
}
|
||||
|
||||
if (process.env.AGENT_TOOLSDIRECTORY?.trim()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue