constmessage="Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if ArtifactCache service is enabled or not.";
"Something is going wrong with ArtifactCache service which supports cache actions. Please check https://www.githubstatus.com/ for any ongoing issue in actions."
);
});
test("restore on GHES without AC available should no-op",async()=>{
"Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if ArtifactCache service is enabled or not."
);
});
test("restore on GHES with AC available ",async()=>{
"Something is going wrong with ArtifactCache service which supports cache actions. Please check https://www.githubstatus.com/ for any ongoing issue in actions."
);
});
test("save on ghes without AC available should no=op",async()=>{
"Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if ArtifactCache service is enabled or not."
@ -37573,6 +37529,19 @@ function getInputAsInt(name, options) {
returnvalue;
}
exports.getInputAsInt=getInputAsInt;
functionisCacheFeatureAvailable(){
if(!cache.isFeatureAvailable()){
if(isGhes()){
logWarning("Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if ArtifactCache service is enabled or not.");
}
else{
logWarning("An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions.");
utils.logWarning("Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if ArtifactCache service is enabled or not.");
}
else{
utils.logWarning("Something is going wrong with ArtifactCache service which supports cache actions. Please check https://www.githubstatus.com/ for any ongoing issue in actions.");
@ -37573,6 +37529,19 @@ function getInputAsInt(name, options) {
returnvalue;
}
exports.getInputAsInt=getInputAsInt;
functionisCacheFeatureAvailable(){
if(!cache.isFeatureAvailable()){
if(isGhes()){
logWarning("Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if ArtifactCache service is enabled or not.");
}
else{
logWarning("An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions.");
@ -46450,14 +46406,7 @@ process.on("uncaughtException", e => utils.logWarning(e.message));
functionrun(){
return__awaiter(this,void0,void0,function*(){
try{
if(!cache.isAvailable()){
if(utils.isGhes()){
utils.logWarning("Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if ArtifactCache service is enabled or not.");
}
else{
utils.logWarning("Something is going wrong with ArtifactCache service which supports cache actions. Please check https://www.githubstatus.com/ for any ongoing issue in actions.");
@ -6,17 +6,7 @@ import * as utils from "./utils/actionUtils";
asyncfunctionrun():Promise<void>{
try{
if(!cache.isAvailable()){
if(utils.isGhes()){
utils.logWarning(
"Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if ArtifactCache service is enabled or not."
);
}
else{
utils.logWarning(
"Something is going wrong with ArtifactCache service which supports cache actions. Please check https://www.githubstatus.com/ for any ongoing issue in actions."
@ -11,18 +11,7 @@ process.on("uncaughtException", e => utils.logWarning(e.message));
asyncfunctionrun():Promise<void>{
try{
if(!cache.isAvailable()){
if(utils.isGhes()){
utils.logWarning(
"Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if ArtifactCache service is enabled or not."
);
}
else{
utils.logWarning(
"Something is going wrong with ArtifactCache service which supports cache actions. Please check https://www.githubstatus.com/ for any ongoing issue in actions."
"Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if ArtifactCache service is enabled or not."
);
}
else{
logWarning(
"An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions."