Skip to content

Commit

Permalink
Use temp folder for App Insights DLLs (#1451)
Browse files Browse the repository at this point in the history
Related to #1449
  • Loading branch information
aholstrup1 authored Feb 13, 2025
1 parent 5dddad8 commit f1fa170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Actions/TelemetryHelper.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Import-Module (Join-Path $PSScriptRoot '.\Github-Helper.psm1' -Resolve)

#region Loading telemetry helper
function DownloadNugetPackage($PackageName, $PackageVersion) {
$nugetPackagePath = Join-Path "$ENV:GITHUB_WORKSPACE" "/.nuget/packages/$PackageName/$PackageVersion/"
$nugetPackagePath = Join-Path "$ENV:RUNNER_TEMP" "/.nuget/packages/$PackageName/$PackageVersion/"

if (-not (Test-Path -Path $nugetPackagePath)) {
$url = "https://www.nuget.org/api/v2/package/$PackageName/$PackageVersion"
Expand Down

0 comments on commit f1fa170

Please sign in to comment.