From 831e0d4070905540fe6546765244af68aa64a60e Mon Sep 17 00:00:00 2001 From: Vladimir Safonkin Date: Thu, 4 Feb 2021 10:36:14 +0300 Subject: [PATCH] Debug --- .github/workflows/workflow.yml | 3 +-- __tests__/verify-dotnet.ps1 | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 0410ea0..09340a9 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -62,8 +62,7 @@ jobs: - name: Verify nuget config file shell: pwsh run: | - Get-ChildItem . - # if (-Not (Test-Path "./nuget.config")) { throw "nuget file not generated correctly" } + if (-Not (Test-Path "../nuget.config")) { throw "nuget file not generated correctly" } - name: Verify dotnet if: runner.os != 'windows' run: __tests__/verify-dotnet.sh 3.1.201 2.2.402 diff --git a/__tests__/verify-dotnet.ps1 b/__tests__/verify-dotnet.ps1 index f0b685f..b253807 100755 --- a/__tests__/verify-dotnet.ps1 +++ b/__tests__/verify-dotnet.ps1 @@ -3,8 +3,6 @@ if (!$args[0]) throw "Must supply dotnet version argument" } -Get-ChildItem . - $dotnet = Get-Command dotnet | Select-Object -First 1 | ForEach-Object { $_.Path } Write-Host "Found '$dotnet'"