Skip to content

Commit

Permalink
test for dotnet
Browse files Browse the repository at this point in the history
  • Loading branch information
james-garriss committed Dec 19, 2024
1 parent 09e5c71 commit 23d0b07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Testing/workflow/Build-SignRelease.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ BeforeDiscovery {
}

Describe "AST Check" {
It "Dotnet should be installed" {
$ToolPath = (Get-Command dotnet).Path
Write-Warning "The path to dotnet is $ToolPath"
Test-Path -Path $ToolPath | Should -Be $true
}
It "AST should be installed" {
$ToolPath = (Get-Command AzureSignTool).Path
Write-Warning "The path to AzureSignTool is $ToolPath"
Expand Down
1 change: 0 additions & 1 deletion utils/workflow/Build-SignRelease.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ function Install-AzureSigningTool {

Write-Warning "Installing AST..."

dotnet --version
dotnet tool install --global AzureSignTool --version 5.0.0
}

Expand Down

0 comments on commit 23d0b07

Please sign in to comment.