mirror of
				https://gitea.com/actions/cache.git
				synced 2025-11-02 07:47:08 +00:00 
			
		
		
		
	Updated branch in Force deletion of caches
Fixes this issue https://github.com/actions/cache/issues/1107
This commit is contained in:
		@@ -53,7 +53,7 @@ jobs:
 | 
				
			|||||||
          gh extension install actions/gh-actions-cache
 | 
					          gh extension install actions/gh-actions-cache
 | 
				
			||||||
          
 | 
					          
 | 
				
			||||||
          REPO=${{ github.repository }}
 | 
					          REPO=${{ github.repository }}
 | 
				
			||||||
          BRANCH=${{ github.ref }}
 | 
					          BRANCH="refs/pull/${{ github.event.pull_request.number }}/merge"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          echo "Fetching list of cache key"
 | 
					          echo "Fetching list of cache key"
 | 
				
			||||||
          cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )
 | 
					          cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user