mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 13:29:12 +08:00 
			
		
		
		
	Use matrix for workflow
This commit is contained in:
		
							
								
								
									
										5
									
								
								.github/workflows/workflow.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/workflow.yml
									
									
									
									
										vendored
									
									
								
							@@ -28,7 +28,10 @@ jobs:
 | 
			
		||||
        run: __tests__/verify-no-unstaged-changes.sh
 | 
			
		||||
 | 
			
		||||
  test:
 | 
			
		||||
    runs-on: [ubuntu-latest, windows-latest]
 | 
			
		||||
    runs-on: ${{ matrix.operating-system }}
 | 
			
		||||
    strategy:
 | 
			
		||||
      matrix:
 | 
			
		||||
        operating-system: [ubuntu-latest, windows-latest]
 | 
			
		||||
    defaults:
 | 
			
		||||
      run:
 | 
			
		||||
        shell: bash
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user