Skip to content

Commit 124d6ff

Browse files
committed
Work CI-CD
- Add back condition to test with preview nanoCLR.
1 parent 10ee428 commit 124d6ff

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,12 @@ jobs:
7171
Write-Host "##[command] **This is a PR build**"
7272
7373
$commit = Invoke-RestMethod -Uri "https://api.github.com/repos/nanoframework/metadata-processor/commits/$(Build.SourceVersion)" -ContentType "application/json" -Method GET
74-
74+
75+
# debug output
76+
echo "=====`r`n$($commit.commit.message)`r`n====="
77+
7578
# check if should download nanoCLR to run unit tests
76-
if($commit.commit.message -like "*[use nanoclr preview]*")
79+
if($commit.commit.message -match "tested against nanoclr buildId \d+")
7780
{
7881
Write-Host "##[command] **Download preview nanoCLR for unit tests**"
7982
$downloadPreview = $true

0 commit comments

Comments
 (0)