Skip to content

Commit 52d81e6

Browse files
committed
CICD: use release for testing and prevent duplicate builds
accidentally removed in #83
1 parent b865b41 commit 52d81e6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ jobs:
2020
- name: 🚚 Restore
2121
run: dotnet restore src
2222
- name: 🛠️ Build
23-
run: dotnet build src
23+
run: dotnet build src --configuration Release --no-restore
2424
- name: 🧪 Test
25-
run: dotnet test src
25+
run: dotnet test src --configuration Release --no-build

.github/workflows/package.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
- name: 🚚 Restore
1616
run: dotnet restore src
1717
- name: 🛠️ Build
18-
run: dotnet build src
18+
run: dotnet build src --configuration Release --no-restore
1919
- name: 🧪 Test
20-
run: dotnet test src
20+
run: dotnet test src --configuration Release --no-build
2121
- name: 📦 Pack
22-
run: dotnet pack src
22+
run: dotnet pack src --configuration Release
2323
- name: 🔑 Secret
2424
uses: nuget/setup-nuget@v1
2525
with:

0 commit comments

Comments
 (0)