Work CI-CD
Fix variable used to check PR number.
***NO_CI***
@@ -77,7 +77,7 @@ jobs:
if($env:System_PullRequest_PullRequestId -ne $null)
{
# get files changed in PR, if this is a PR
- $commit = Invoke-RestMethod -Uri "https://api.github.com/repos/nanoframework/nf-interpreter/pulls/$env:System_PullRequest_PullRequestId/files" -Header @{"Authorization"="$auth"} -ContentType "application/json" -Method GET
+ $commit = Invoke-RestMethod -Uri "https://api.github.com/repos/nanoframework/nf-interpreter/pulls/$env:System_PullRequest_PullRequestNumber/files" -Header @{"Authorization"="$auth"} -ContentType "application/json" -Method GET
# filter removed files
$files = $commit.where{$_.status -ne 'removed'}
