mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 13:29:12 +08:00 
			
		
		
		
	Get rid of warnings for set-output (#607)
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/versions.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/versions.yml
									
									
									
									
										vendored
									
									
								
							@@ -178,7 +178,7 @@ jobs:
 | 
			
		||||
      - name: Get node version
 | 
			
		||||
        run: |
 | 
			
		||||
          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
 | 
			
		||||
        shell: bash
 | 
			
		||||
      - uses: actions/checkout@v3
 | 
			
		||||
@@ -189,7 +189,7 @@ jobs:
 | 
			
		||||
      - name: Retrieve version after install
 | 
			
		||||
        run: |
 | 
			
		||||
          updatedVersion=$(echo $(node --version))
 | 
			
		||||
          echo "::set-output name=NODE_VERSION_UPDATED::$updatedVersion"
 | 
			
		||||
          echo "NODE_VERSION_UPDATED=$updatedVersion" >> $GITHUB_OUTPUT
 | 
			
		||||
        id: updatedVersion
 | 
			
		||||
        shell: bash
 | 
			
		||||
      - name: Compare versions
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user