Removing GHES condition to enabled cache for GHES
Code scanning - action / CodeQL-Build (push) Has been cancelled

This commit is contained in:
Shubham Tiwari committed 2022-01-17 16:59:51 +05:30
1 parent 611465405c
commit 8bcf0245bb
8 files changed
+2 -96

No files matched your search

-7
View File
@@ -2,13 +2,6 @@ import * as core from "@actions/core";
import { Outputs, RefKey, State } from "../constants";
export function isGhes(): boolean {
const ghUrl = new URL(
process.env["GITHUB_SERVER_URL"] || "https://github.com"
);
return ghUrl.hostname.toUpperCase() !== "GITHUB.COM";
}
export function isExactKeyMatch(key: string, cacheKey?: string): boolean {
return !!(
cacheKey &&