mirror of
https://github.com/ChristopherHX/gitea-upload-artifact.git
synced 2025-06-01 10:37:02 +08:00
disable ghes no support check
This commit is contained in:
parent
694cdabd8b
commit
81f940d004
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user