mirror of
				https://gitea.com/actions/setup-java.git
				synced 2025-11-04 07:47:06 +00:00 
			
		
		
		
	* Add java-package parameter to action, support jre, jdk, and jdk+fx (#1) * Update tests to use 'jdk', 'jre', and 'jdk+fx' javaPackage parameters * Match extension only at end of line * Update README.md * Update workflow to use 'node-version' instead of deprecated 'version'
		
			
				
	
	
		
			27 lines
		
	
	
		
			503 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			503 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
name: Main workflow
 | 
						|
on: [push]
 | 
						|
jobs:
 | 
						|
  run:
 | 
						|
    name: Run
 | 
						|
    runs-on: ${{ matrix.operating-system }}
 | 
						|
    strategy:
 | 
						|
      matrix:
 | 
						|
        operating-system: [ubuntu-latest, windows-latest]
 | 
						|
    steps:
 | 
						|
    - name: Checkout
 | 
						|
      uses: actions/checkout@master
 | 
						|
 | 
						|
    - name: Set Node.js 10.x
 | 
						|
      uses: actions/setup-node@master
 | 
						|
      with:
 | 
						|
        node-version: 10.x
 | 
						|
 | 
						|
    - name: npm install
 | 
						|
      run: npm install
 | 
						|
 | 
						|
    - name: Lint
 | 
						|
      run: npm run format-check
 | 
						|
 | 
						|
    - name: npm test
 | 
						|
      run: npm test
 |