mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 07:38:37 +08:00 
			
		
		
		
	remove GITHUB_OUTPUT from the TEST workflow to avoid differences between windows and unix syntax for reading env vars
This commit is contained in:
		
							parent
							
								
									34ab33b403
								
							
						
					
					
						commit
						08d0806e03
					
				
							
								
								
									
										6
									
								
								.github/workflows/workflow.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/workflow.yml
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -25,14 +25,10 @@ jobs:
 | 
				
			||||||
      uses: actions/setup-node@v3
 | 
					      uses: actions/setup-node@v3
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        node-version: 16.x
 | 
					        node-version: 16.x
 | 
				
			||||||
    - name: Determine npm cache directory
 | 
					 | 
				
			||||||
      id: npm-cache
 | 
					 | 
				
			||||||
      run: |
 | 
					 | 
				
			||||||
        echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
 | 
					 | 
				
			||||||
    - name: Restore npm cache
 | 
					    - name: Restore npm cache
 | 
				
			||||||
      uses: actions/cache@v3
 | 
					      uses: actions/cache@v3
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        path: ${{ steps.npm-cache.outputs.dir }}
 | 
					        path: $(npm config get cache)
 | 
				
			||||||
        key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
 | 
					        key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
 | 
				
			||||||
        restore-keys: |
 | 
					        restore-keys: |
 | 
				
			||||||
          ${{ runner.os }}-node-
 | 
					          ${{ runner.os }}-node-
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user