mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 18:36:46 +00:00
fixed homedir path
This commit is contained in:
parent
430dc5d2af
commit
6e0fcb38f5
2 changed files with 3 additions and 2 deletions
|
@ -23,6 +23,7 @@ process.env['RUNNER_TEMP'] = tempDir;
|
||||||
import * as auth from '../src/auth';
|
import * as auth from '../src/auth';
|
||||||
|
|
||||||
const m2Dir = path.join(__dirname, auth.M2_DIR);
|
const m2Dir = path.join(__dirname, auth.M2_DIR);
|
||||||
|
const gpgHomeDir = auth.GPG_HOME_DIR;
|
||||||
const settingsFile = path.join(m2Dir, auth.SETTINGS_FILE);
|
const settingsFile = path.join(m2Dir, auth.SETTINGS_FILE);
|
||||||
const privateKeyFile = path.join(tempDir, auth.PRIVATE_KEY_FILE);
|
const privateKeyFile = path.join(tempDir, auth.PRIVATE_KEY_FILE);
|
||||||
|
|
||||||
|
@ -185,7 +186,7 @@ describe('auth tests', () => {
|
||||||
<activeByDefault>true</activeByDefault>
|
<activeByDefault>true</activeByDefault>
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<gpg.homedir>${tempDir}</gpg.homedir>
|
<gpg.homedir>${gpgHomeDir}</gpg.homedir>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
|
@ -93,7 +93,7 @@ export function generate(
|
||||||
activeByDefault: true
|
activeByDefault: true
|
||||||
},
|
},
|
||||||
properties: {
|
properties: {
|
||||||
'gpg.homedir': TEMP_DIR
|
'gpg.homedir': GPG_HOME_DIR
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue