From d0418cda467ff413c5d333ec04586266a398e52e Mon Sep 17 00:00:00 2001 From: Luke Bakken Date: Tue, 22 Feb 2022 15:52:04 -0800 Subject: [PATCH] Do not setup dotnet on Win runner It should already be there Set Repo URL in project --- .github/workflows/main.yaml | 4 ---- projects/RabbitMQ.Client/RabbitMQ.Client.csproj | 1 + tools/gha-run-tests.ps1 | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 92122a7005..b2b20fe478 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -21,10 +21,6 @@ jobs: uses: actions/checkout@v2 with: submodules: true - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 3.1.x - name: Cache installers uses: actions/cache@v2 with: diff --git a/projects/RabbitMQ.Client/RabbitMQ.Client.csproj b/projects/RabbitMQ.Client/RabbitMQ.Client.csproj index 5b28f6fd8b..2ae429f5f3 100644 --- a/projects/RabbitMQ.Client/RabbitMQ.Client.csproj +++ b/projects/RabbitMQ.Client/RabbitMQ.Client.csproj @@ -17,6 +17,7 @@ rabbitmq, amqp RabbitMQ true + https://github.com/rabbitmq/rabbitmq-dotnet-client.git true snupkg ../rabbit.snk diff --git a/tools/gha-run-tests.ps1 b/tools/gha-run-tests.ps1 index 47843602f4..d2c47ce495 100644 --- a/tools/gha-run-tests.ps1 +++ b/tools/gha-run-tests.ps1 @@ -29,4 +29,4 @@ $env:RABBITMQ_RABBITMQCTL_PATH = $rabbitmqctl_path [Environment]::SetEnvironmentVariable('RABBITMQ_RABBITMQCTL_PATH', $rabbitmqctl_path, 'Machine') $solution_file = Join-Path -Path $env:GITHUB_WORKSPACE -ChildPath 'RabbitMQDotNetClient.sln' -dotnet test --no-build --logger "console;verbosity=detailed" $solution_file +dotnet test --no-restore --no-build --logger "console;verbosity=detailed" $solution_file