mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 18:06:45 +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';
|
||||
|
||||
const m2Dir = path.join(__dirname, auth.M2_DIR);
|
||||
const gpgHomeDir = auth.GPG_HOME_DIR;
|
||||
const settingsFile = path.join(m2Dir, auth.SETTINGS_FILE);
|
||||
const privateKeyFile = path.join(tempDir, auth.PRIVATE_KEY_FILE);
|
||||
|
||||
|
@ -185,7 +186,7 @@ describe('auth tests', () => {
|
|||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<properties>
|
||||
<gpg.homedir>${tempDir}</gpg.homedir>
|
||||
<gpg.homedir>${gpgHomeDir}</gpg.homedir>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue