From d77ecbdfdd92f114b26b57d9f3e4ac078c980c8b Mon Sep 17 00:00:00 2001 From: Aaron Powell Date: Thu, 11 Jul 2024 00:06:37 +0000 Subject: [PATCH] Using suggested approach from aspire team --- .github/workflows/dotnet.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 123aa6dc..0250a7af 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -27,15 +27,12 @@ jobs: run: dotnet workload install aspire - name: Setup .NET dev certs run: | - mkdir $RUNNER_TEMP/devcert-scripts - cd $RUNNER_TEMP/devcert-scripts - wget https://raw.githubusercontent.com/BorisWilhelms/create-dotnet-devcert/main/scripts/ubuntu-create-dotnet-devcert.sh - wget https://raw.githubusercontent.com/BorisWilhelms/create-dotnet-devcert/main/scripts/common.sh - chmod +x ubuntu-create-dotnet-devcert.sh - ./ubuntu-create-dotnet-devcert.sh + dotnet tool update -g linux-dev-certs + dotnet linux-dev-certs install - name: Restore dependencies run: dotnet restore - name: Build run: dotnet build --no-restore - name: Test run: dotnet test --no-build --verbosity normal +