mirror of
https://github.com/actions/toolkit.git
synced 2026-08-18 00:00:19 +02:00
fix results url construction
This commit is contained in:
@@ -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