mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 02:16:45 +00:00
selective generation of settings for GPG + isolated gpg homedir
This commit is contained in:
parent
5e3159d960
commit
8bc07f9980
7 changed files with 30386 additions and 95 deletions
|
@ -10,7 +10,7 @@ describe('util tests', () => {
|
|||
|
||||
describe('getTempDir', () => {
|
||||
it('gets temp dir using env', () => {
|
||||
process.env['RUNNER_TEMP'] = 'defaulttmp'
|
||||
process.env['RUNNER_TEMP'] = 'defaulttmp';
|
||||
const util = require('../src/util');
|
||||
|
||||
const tempDir = util.getTempDir();
|
||||
|
@ -25,7 +25,9 @@ describe('util tests', () => {
|
|||
|
||||
const tempDir = util.getTempDir();
|
||||
|
||||
expect(tempDir).toEqual(path.join(process.env['USERPROFILE'], 'actions', 'temp'));
|
||||
expect(tempDir).toEqual(
|
||||
path.join(process.env['USERPROFILE'], 'actions', 'temp')
|
||||
);
|
||||
});
|
||||
|
||||
it('gets temp dir for windows using c drive', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue