mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 01:37:40 +09:00 
			
		
		
		
	[build] Replace set-output with GITHUB_OUTPUT (#5315)
				
					
				
			https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ Authored by: Lesmiscore
This commit is contained in:
		| @@ -7,8 +7,8 @@ def read_file(fname): | ||||
|         return f.read() | ||||
| 
 | ||||
| 
 | ||||
| def write_file(fname, content): | ||||
|     with open(fname, 'w', encoding='utf-8') as f: | ||||
| def write_file(fname, content, mode='w'): | ||||
|     with open(fname, mode, encoding='utf-8') as f: | ||||
|         return f.write(content) | ||||
| 
 | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user