mirror of
				https://kkgithub.com/actions/checkout
				synced 2025-11-04 16:21:55 +08:00 
			
		
		
		
	Compare commits
	
		
			5 Commits
		
	
	
		
			v6-beta
			...
			test-show-
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| bab023d7a2 | |||
| 691545e3dc | |||
| 276befb35c | |||
| e1b7fe15cf | |||
| 64ffef1ea6 | 
							
								
								
									
										1
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@ -1260,6 +1260,7 @@ function getSource(settings) {
 | 
			
		||||
            else {
 | 
			
		||||
                fetchOptions.fetchDepth = settings.fetchDepth;
 | 
			
		||||
                fetchOptions.fetchTags = settings.fetchTags;
 | 
			
		||||
                fetchOptions.showProgress = settings.showProgress;
 | 
			
		||||
                const refSpec = refHelper.getRefSpec(settings.ref, settings.commit);
 | 
			
		||||
                yield git.fetch(refSpec, fetchOptions);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
@ -177,6 +177,7 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> {
 | 
			
		||||
    } else {
 | 
			
		||||
      fetchOptions.fetchDepth = settings.fetchDepth
 | 
			
		||||
      fetchOptions.fetchTags = settings.fetchTags
 | 
			
		||||
      fetchOptions.showProgress = settings.showProgress
 | 
			
		||||
      const refSpec = refHelper.getRefSpec(settings.ref, settings.commit)
 | 
			
		||||
      await git.fetch(refSpec, fetchOptions)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user