mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 01:23:34 +00:00 
			
		
		
		
	fix e2e
This commit is contained in:
		
							parent
							
								
									dd2d49377f
								
							
						
					
					
						commit
						3a94d560e1
					
				
							
								
								
									
										8
									
								
								.github/workflows/versions.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/versions.yml
									
									
									
									
										vendored
									
									
								
							@ -150,10 +150,8 @@ jobs:
 | 
				
			|||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Get node version
 | 
					      - name: Get node version
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          version = $(curl https://nodejs.org/dist/index.json  | jq '.[0] | .version')
 | 
					          latest_node_version=$(echo $(curl https://nodejs.org/dist/index.json | jq '. [0].version'))
 | 
				
			||||||
          id: version
 | 
					            echo "::set-output name=LATEST_NODE_VERSION::$latest_node_version"
 | 
				
			||||||
          echo "::set-output name=LATEST_NODE_VERSION::$version"
 | 
					 | 
				
			||||||
          shell: bash
 | 
					 | 
				
			||||||
        id: version
 | 
					        id: version
 | 
				
			||||||
        shell: bash
 | 
					        shell: bash
 | 
				
			||||||
      - uses: actions/checkout@v3
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
@ -171,4 +169,4 @@ jobs:
 | 
				
			|||||||
        if: ${{ steps.version.outputs.LATEST_NODE_VERSION != steps.updatedVersion.outputs.NODE_VERSION_UPDATED}}
 | 
					        if: ${{ steps.version.outputs.LATEST_NODE_VERSION != steps.updatedVersion.outputs.NODE_VERSION_UPDATED}}
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          echo "Latest node version failed to download."
 | 
					          echo "Latest node version failed to download."
 | 
				
			||||||
          exit 1
 | 
					          exit 1
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user