mirror of
https://github.com/christopherHX/gitea-upload-artifact
synced 2026-11-03 10:57:45 +01:00
disable ghes no support check
This commit is contained in:
1 parent
694cdabd8b
commit
81f940d004
1 file changed
+1
-2
Vendored
+1
-2
@@ -3023,8 +3023,7 @@ function getResultsServiceUrl() {
|
||||
}
|
||||
exports.getResultsServiceUrl = getResultsServiceUrl;
|
||||
function isGhes() {
|
||||
const ghUrl = new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com');
|
||||
return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM';
|
||||
return false;
|
||||
}
|
||||
exports.isGhes = isGhes;
|
||||
function getGitHubWorkspaceDir() {
|
||||
|
||||
Reference in new issue
Block a user