Skip to content

Commit 9aed73c

Browse files
committed
Work CI-CD
- Fix env var in script. ***NO_CI***
1 parent d056bb2 commit 9aed73c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pipeline-assets/build-solutions.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ else
5959
"" | Write-Host -ForegroundColor Yellow
6060

6161
# get files changed in the commit, if this is NOT a PR
62-
$commit = Invoke-RestMethod -Uri "https://api.github.com/repos/nanoframework/Samples/commits/$(Build.SourceVersion)" -Header @{"Authorization"="$auth"} -ContentType "application/json" -Method GET
62+
$commit = Invoke-RestMethod -Uri "https://api.github.com/repos/nanoframework/Samples/commits/$env:Build_SourceVersion" -Header @{"Authorization"="$auth"} -ContentType "application/json" -Method GET
6363

6464
# get files changed in the commit
6565
$pageCounter = 1

0 commit comments

Comments
 (0)