fix results url construction
This commit is contained in:
1 parent
420a520de3
commit
8262f2cbe7
2 files changed
+4
-3
No files matched your search
@@ -19,7 +19,8 @@ export function getResultsServiceUrl(): string {
|
||||
if (!resultsUrl) {
|
||||
throw new Error('Unable to get the ACTIONS_RESULTS_URL env variable')
|
||||
}
|
||||
return resultsUrl
|
||||
|
||||
return new URL(resultsUrl).origin
|
||||
}
|
||||
|
||||
export function isGhes(): boolean {
|
||||
|
||||
Reference in new issue
Block a user