mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 08:23:34 +00:00 
			
		
		
		
	change deprecating commands
This commit is contained in:
		
							parent
							
								
									788c6ccbd0
								
							
						
					
					
						commit
						7325c9e102
					
				
							
								
								
									
										4
									
								
								.github/workflows/versions.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/versions.yml
									
									
									
									
										vendored
									
									
								
							@ -178,7 +178,7 @@ jobs:
 | 
				
			|||||||
      - name: Get node version
 | 
					      - name: Get node version
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          latestNodeVersion=$(curl https://nodejs.org/dist/index.json | jq -r '. [0].version')
 | 
					          latestNodeVersion=$(curl https://nodejs.org/dist/index.json | jq -r '. [0].version')
 | 
				
			||||||
          echo "::set-output name=LATEST_NODE_VERSION::$latestNodeVersion"
 | 
					          echo "LATEST_NODE_VERSION=$latestNodeVersion" >> $GITHUB_OUTPUT
 | 
				
			||||||
        id: version
 | 
					        id: version
 | 
				
			||||||
        shell: bash
 | 
					        shell: bash
 | 
				
			||||||
      - uses: actions/checkout@v3
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
@ -189,7 +189,7 @@ jobs:
 | 
				
			|||||||
      - name: Retrieve version after install
 | 
					      - name: Retrieve version after install
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          updatedVersion=$(echo $(node --version))
 | 
					          updatedVersion=$(echo $(node --version))
 | 
				
			||||||
          echo "::set-output name=NODE_VERSION_UPDATED::$updatedVersion"
 | 
					          echo "NODE_VERSION_UPDATED=$updatedVersion" >> $GITHUB_OUTPUT
 | 
				
			||||||
        id: updatedVersion
 | 
					        id: updatedVersion
 | 
				
			||||||
        shell: bash
 | 
					        shell: bash
 | 
				
			||||||
      - name: Compare versions
 | 
					      - name: Compare versions
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user