From ebb63d0746cdd1db346cf67c9f2603e7a913a5db Mon Sep 17 00:00:00 2001 From: Dawid Szmigielski Date: Tue, 6 Dec 2022 10:50:50 +0100 Subject: [PATCH] Fix (#580) --- .github/workflows/script-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/script-tests.yml b/.github/workflows/script-tests.yml index abdc451860..27b6231a8a 100644 --- a/.github/workflows/script-tests.yml +++ b/.github/workflows/script-tests.yml @@ -20,7 +20,7 @@ jobs: mkdir testapp cd testapp dotnet new console - dotnet publish -f net7.0 -c Release + dotnet publish /p:TreatWarningsAsErrors=false -f net7.0 -c Release $module_url = "https://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/OpenTelemetry.DotNet.Auto.psm1" $dl_path = Join-Path $env:temp "OpenTelemetry.DotNet.Auto.psm1" $log_path = "C:\ProgramData\OpenTelemetry .NET AutoInstrumentation\logs\*" @@ -96,7 +96,7 @@ jobs: mkdir testapp cd testapp dotnet new console - dotnet publish -f net7.0 -c Release + dotnet publish /p:TreatWarningsAsErrors=false -f net7.0 -c Release curl -sSfL https://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/otel-dotnet-auto-install.sh -O sh ./otel-dotnet-auto-install.sh test "$(ls -A "$HOME/.otel-dotnet-auto")"