mirror of
				https://github.com/actions/setup-java.git
				synced 2025-11-04 00:44:20 +00:00 
			
		
		
		
	fixed homedir path
This commit is contained in:
		
							parent
							
								
									430dc5d2af
								
							
						
					
					
						commit
						6e0fcb38f5
					
				@ -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>
 | 
			
		||||
 | 
			
		||||
@ -93,7 +93,7 @@ export function generate(
 | 
			
		||||
            activeByDefault: true
 | 
			
		||||
          },
 | 
			
		||||
          properties: {
 | 
			
		||||
            'gpg.homedir': TEMP_DIR
 | 
			
		||||
            'gpg.homedir': GPG_HOME_DIR
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user