mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 13:29:10 +08:00 
			
		
		
		
	Use warning instead of info
This commit is contained in:
		@@ -7,7 +7,7 @@ import * as utils from "./utils/actionUtils";
 | 
			
		||||
async function run(): Promise<void> {
 | 
			
		||||
    try {
 | 
			
		||||
        if (utils.isGhes()) {
 | 
			
		||||
            core.info("Cache action is not supported on GHES");
 | 
			
		||||
            utils.logWarning("Cache action is not supported on GHES");
 | 
			
		||||
            utils.setCacheHitOutput(false);
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
@@ -7,7 +7,7 @@ import * as utils from "./utils/actionUtils";
 | 
			
		||||
async function run(): Promise<void> {
 | 
			
		||||
    try {
 | 
			
		||||
        if (utils.isGhes()) {
 | 
			
		||||
            core.info("Cache action is not supported on GHES");
 | 
			
		||||
            utils.logWarning("Cache action is not supported on GHES");
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user