mirror of
				https://github.com/actions/setup-java.git
				synced 2025-10-30 22:10:54 +00:00 
			
		
		
		
	regenerate dist
This commit is contained in:
		
					parent
					
						
							
								330fe63577
							
						
					
				
			
			
				commit
				
					
						9979ab3313
					
				
			
		
					 2 changed files with 8 additions and 30 deletions
				
			
		
							
								
								
									
										12
									
								
								dist/cleanup/index.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								dist/cleanup/index.js
									
										
									
									
										vendored
									
									
								
							|  | @ -1549,9 +1549,7 @@ exports.getVersionFromToolcachePath = getVersionFromToolcachePath; | |||
| function extractJdkFile(toolPath, extension) { | ||||
|     return __awaiter(this, void 0, void 0, function* () { | ||||
|         if (!extension) { | ||||
|             extension = toolPath.endsWith('.tar.gz') | ||||
|                 ? 'tar.gz' | ||||
|                 : path_1.default.extname(toolPath); | ||||
|             extension = toolPath.endsWith('.tar.gz') ? 'tar.gz' : path_1.default.extname(toolPath); | ||||
|             if (extension.startsWith('.')) { | ||||
|                 extension = extension.substring(1); | ||||
|             } | ||||
|  | @ -5091,13 +5089,7 @@ function importKey(privateKey) { | |||
|                 } | ||||
|             } | ||||
|         }; | ||||
|         yield exec.exec('gpg', [ | ||||
|             '--batch', | ||||
|             '--import-options', | ||||
|             'import-show', | ||||
|             '--import', | ||||
|             exports.PRIVATE_KEY_FILE | ||||
|         ], options); | ||||
|         yield exec.exec('gpg', ['--batch', '--import-options', 'import-show', '--import', exports.PRIVATE_KEY_FILE], options); | ||||
|         yield io.rmRF(exports.PRIVATE_KEY_FILE); | ||||
|         const match = output.match(PRIVATE_KEY_FINGERPRINT_REGEX); | ||||
|         return match && match[0]; | ||||
|  |  | |||
							
								
								
									
										26
									
								
								dist/setup/index.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										26
									
								
								dist/setup/index.js
									
										
									
									
										vendored
									
									
								
							|  | @ -12944,9 +12944,7 @@ exports.getVersionFromToolcachePath = getVersionFromToolcachePath; | |||
| function extractJdkFile(toolPath, extension) { | ||||
|     return __awaiter(this, void 0, void 0, function* () { | ||||
|         if (!extension) { | ||||
|             extension = toolPath.endsWith('.tar.gz') | ||||
|                 ? 'tar.gz' | ||||
|                 : path_1.default.extname(toolPath); | ||||
|             extension = toolPath.endsWith('.tar.gz') ? 'tar.gz' : path_1.default.extname(toolPath); | ||||
|             if (extension.startsWith('.')) { | ||||
|                 extension = extension.substring(1); | ||||
|             } | ||||
|  | @ -13230,8 +13228,7 @@ function configureAuthentication() { | |||
|         const id = core.getInput(constants.INPUT_SERVER_ID); | ||||
|         const username = core.getInput(constants.INPUT_SERVER_USERNAME); | ||||
|         const password = core.getInput(constants.INPUT_SERVER_PASSWORD); | ||||
|         const gpgPrivateKey = core.getInput(constants.INPUT_GPG_PRIVATE_KEY) || | ||||
|             constants.INPUT_DEFAULT_GPG_PRIVATE_KEY; | ||||
|         const gpgPrivateKey = core.getInput(constants.INPUT_GPG_PRIVATE_KEY) || constants.INPUT_DEFAULT_GPG_PRIVATE_KEY; | ||||
|         const gpgPassphrase = core.getInput(constants.INPUT_GPG_PASSPHRASE) || | ||||
|             (gpgPrivateKey ? constants.INPUT_DEFAULT_GPG_PASSPHRASE : undefined); | ||||
|         if (gpgPrivateKey) { | ||||
|  | @ -13774,9 +13771,7 @@ class AdoptiumDistribution extends base_installer_1.JavaBase { | |||
|             }); | ||||
|             const resolvedFullVersion = satisfiedVersions.length > 0 ? satisfiedVersions[0] : null; | ||||
|             if (!resolvedFullVersion) { | ||||
|                 const availableOptions = availableVersionsWithBinaries | ||||
|                     .map(item => item.version) | ||||
|                     .join(', '); | ||||
|                 const availableOptions = availableVersionsWithBinaries.map(item => item.version).join(', '); | ||||
|                 const availableOptionsMessage = availableOptions | ||||
|                     ? `\nAvailable versions: ${availableOptions}` | ||||
|                     : ''; | ||||
|  | @ -14103,9 +14098,7 @@ class ZuluDistribution extends base_installer_1.JavaBase { | |||
|             }); | ||||
|             const resolvedFullVersion = satisfiedVersions.length > 0 ? satisfiedVersions[0] : null; | ||||
|             if (!resolvedFullVersion) { | ||||
|                 const availableOptions = availableVersions | ||||
|                     .map(item => item.version) | ||||
|                     .join(', '); | ||||
|                 const availableOptions = availableVersions.map(item => item.version).join(', '); | ||||
|                 const availableOptionsMessage = availableOptions | ||||
|                     ? `\nAvailable versions: ${availableOptions}` | ||||
|                     : ''; | ||||
|  | @ -14155,8 +14148,7 @@ class ZuluDistribution extends base_installer_1.JavaBase { | |||
|             if (core.isDebug()) { | ||||
|                 core.debug(`Gathering available versions from '${availableVersionsUrl}'`); | ||||
|             } | ||||
|             const availableVersions = (_b = (yield this.http.getJson(availableVersionsUrl)) | ||||
|                 .result) !== null && _b !== void 0 ? _b : []; | ||||
|             const availableVersions = (_b = (yield this.http.getJson(availableVersionsUrl)).result) !== null && _b !== void 0 ? _b : []; | ||||
|             if (core.isDebug()) { | ||||
|                 core.startGroup('Print information about available versions'); | ||||
|                 console.timeEnd('azul-retrieve-available-versions'); | ||||
|  | @ -41118,13 +41110,7 @@ function importKey(privateKey) { | |||
|                 } | ||||
|             } | ||||
|         }; | ||||
|         yield exec.exec('gpg', [ | ||||
|             '--batch', | ||||
|             '--import-options', | ||||
|             'import-show', | ||||
|             '--import', | ||||
|             exports.PRIVATE_KEY_FILE | ||||
|         ], options); | ||||
|         yield exec.exec('gpg', ['--batch', '--import-options', 'import-show', '--import', exports.PRIVATE_KEY_FILE], options); | ||||
|         yield io.rmRF(exports.PRIVATE_KEY_FILE); | ||||
|         const match = output.match(PRIVATE_KEY_FINGERPRINT_REGEX); | ||||
|         return match && match[0]; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue