mirror of
				https://github.com/Swatinem/rust-cache.git
				synced 2025-10-31 19:33:48 +00:00 
			
		
		
		
	Update action runtime to node20 (#175)
				
					
				
			This commit is contained in:
		
							parent
							
								
									3cf7f8cc28
								
							
						
					
					
						commit
						b1db5f9d5f
					
				
							
								
								
									
										4
									
								
								.github/workflows/check-dist.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/check-dist.yml
									
									
									
									
										vendored
									
									
								
							| @ -17,10 +17,10 @@ jobs: | |||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v3 |       - uses: actions/checkout@v3 | ||||||
| 
 | 
 | ||||||
|       - name: Setup Node.js 16.x |       - name: Setup Node.js 20.x | ||||||
|         uses: actions/setup-node@v3 |         uses: actions/setup-node@v3 | ||||||
|         with: |         with: | ||||||
|           node-version: 16.x |           node-version: 20.x | ||||||
|           cache: npm |           cache: npm | ||||||
| 
 | 
 | ||||||
|       - name: Install dependencies |       - name: Install dependencies | ||||||
|  | |||||||
| @ -44,7 +44,7 @@ outputs: | |||||||
|   cache-hit: |   cache-hit: | ||||||
|     description: "A boolean value that indicates an exact match was found." |     description: "A boolean value that indicates an exact match was found." | ||||||
| runs: | runs: | ||||||
|   using: "node16" |   using: "node20" | ||||||
|   main: "dist/restore/index.js" |   main: "dist/restore/index.js" | ||||||
|   post: "dist/save/index.js" |   post: "dist/save/index.js" | ||||||
|   post-if: "success() || env.CACHE_ON_FAILURE == 'true'" |   post-if: "success() || env.CACHE_ON_FAILURE == 'true'" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user