mirror of
				https://hub.gitmirror.com/https://github.com/actions/setup-java.git
				synced 2025-10-27 16:09:57 +08:00 
			
		
		
		
	 0cf3ae56f5
			
		
	
	
		0cf3ae56f5
		
			
		
	
	
	
	
		
			
			* Download from zulu * Fix pathing * Fix * Fix * Fix * Update io * Tests and pathing * Add back husky * Update action.yml
		
			
				
	
	
		
			18 lines
		
	
	
		
			560 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			560 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: 'Setup Java Action'
 | |
| description: 'Setup your runner with Java'
 | |
| author: 'GitHub'
 | |
| inputs: 
 | |
|   version:
 | |
|     description: 'The JDK version to make available on the path. Use a whole version, such as 9.0.4'
 | |
|     required: true
 | |
|   architecture:
 | |
|     description: 'The architecture (x86, x64) of the JDK.'
 | |
|     required: true
 | |
|     default: 'x64'
 | |
|   jdkFile:
 | |
|     description: 'Path to where the compressed JDK is located. The path could be in your source repository or a local path on the agent.'
 | |
|     required: false
 | |
| runs:
 | |
|   using: 'node12'
 | |
|   main: 'lib/setup-java.js'
 |