mirror of
				https://github.com/actions/setup-java.git
				synced 2025-11-04 00:44:20 +00:00 
			
		
		
		
	set private key to secret
This commit is contained in:
		
							parent
							
								
									9db208ff02
								
							
						
					
					
						commit
						23f6cd301b
					
				@ -5,6 +5,9 @@ import * as path from 'path';
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
async function run() {
 | 
					async function run() {
 | 
				
			||||||
  try {
 | 
					  try {
 | 
				
			||||||
 | 
					    // Set secrets before use
 | 
				
			||||||
 | 
					    core.setSecret('gpg-private-key');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    let version = core.getInput('version');
 | 
					    let version = core.getInput('version');
 | 
				
			||||||
    if (!version) {
 | 
					    if (!version) {
 | 
				
			||||||
      version = core.getInput('java-version', {required: true});
 | 
					      version = core.getInput('java-version', {required: true});
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user