From bbbb76e0b80bc5f9ef6d990b73a35740fb05ec71 Mon Sep 17 00:00:00 2001 From: Lucian Bargaoanu Date: Thu, 19 Jan 2023 11:04:02 +0200 Subject: [PATCH 1/2] onmy dotnet test is needed --- .github/workflows/ci.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aed9fb2..9fbc332 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,14 +19,8 @@ jobs: - name: Add AutoMapper Myget Source run: dotnet nuget add source https://www.myget.org/F/automapperdev/api/v3/index.json -n automappermyget - - name: Restore - run: dotnet restore - - - name: Build - run: dotnet build --configuration Release --no-restore - - name: Test - run: dotnet test --no-restore --verbosity normal + run: dotnet test --configuration Release --verbosity normal - name: Pack and push env: From 02b1487e9effe65e974f64f246ca637fdb65cc7a Mon Sep 17 00:00:00 2001 From: Lucian Bargaoanu Date: Thu, 19 Jan 2023 11:05:17 +0200 Subject: [PATCH 2/2] only dotnet test is needed --- .github/workflows/release.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1695ca2..52c0df8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,14 +14,8 @@ jobs: with: fetch-depth: 0 - - name: Restore - run: dotnet restore - - - name: Build - run: dotnet build --configuration Release --no-restore - - name: Test - run: dotnet test --no-restore --verbosity normal + run: dotnet test --configuration Release --verbosity normal - name: Pack and push env: