Skip to content

Commit 95dbeae

Browse files
committed
Fix auth header in webrequest
1 parent 49b7cef commit 95dbeae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install-nf-build-components.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if($env:GITHUB_AUTH_TOKEN)
2727
Write-Output "INFO: adding authentication header"
2828

2929
# authorization header with github token
30-
$auth = "Bearer $gitHubToken"
30+
$auth = "Bearer $env:GITHUB_AUTH_TOKEN"
3131

3232
$webClient.Headers.Add("Authorization", $auth)
3333
}

0 commit comments

Comments
 (0)