From 95dbeae84834b6def5c8f1581d9666b24382d57b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Sim=C3=B5es?= Date: Thu, 22 Dec 2022 01:54:53 +0000 Subject: [PATCH] Fix auth header in webrequest --- install-nf-build-components.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-nf-build-components.ps1 b/install-nf-build-components.ps1 index bdbaaf7..7d2ee8c 100644 --- a/install-nf-build-components.ps1 +++ b/install-nf-build-components.ps1 @@ -27,7 +27,7 @@ if($env:GITHUB_AUTH_TOKEN) Write-Output "INFO: adding authentication header" # authorization header with github token - $auth = "Bearer $gitHubToken" + $auth = "Bearer $env:GITHUB_AUTH_TOKEN" $webClient.Headers.Add("Authorization", $auth) }