Skip to content

Commit c4d52f8

Browse files
committed
Update GitHub Actions to build, test, and pack in Release configuration
1 parent 4843c4d commit c4d52f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/dotnet.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
- name: Restore dependencies
2424
run: dotnet restore
2525
- name: Build
26-
run: dotnet build --no-restore
26+
run: dotnet build --no-restore --configuration Release
2727
- name: Test
28-
run: dotnet test --no-build --verbosity normal
28+
run: dotnet test --no-build --verbosity normal --configuration Release
2929
- name: Pack
30-
run: dotnet pack --no-build -o ./nupkg
30+
run: dotnet pack --no-build --configuration Release -o ./nupkg
3131
- name: Push to NuGet
3232
env:
3333
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)