mirror of
				https://github.com/docker/setup-buildx-action.git
				synced 2025-11-04 14:44:20 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			317 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			317 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import * as core from '@actions/core';
 | 
						|
 | 
						|
export const IsPost = !!process.env['STATE_isPost'];
 | 
						|
export const builderName = process.env['STATE_builderName'] || '';
 | 
						|
 | 
						|
export function setBuilderName(builderName: string) {
 | 
						|
  core.saveState('builderName', builderName);
 | 
						|
}
 | 
						|
 | 
						|
if (!IsPost) {
 | 
						|
  core.saveState('isPost', 'true');
 | 
						|
}
 |