Skip to content

Commit 88df7ab

Browse files
authored
Publish pipeline with both target frameworks
1 parent 19d2c31 commit 88df7ab

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/publish-to-nuget-org.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@ jobs:
2020
- name: Restore dependencies
2121
run: dotnet restore
2222
- name: Build
23-
run: dotnet build --no-restore
23+
run: dotnet build -c Release --no-restore
2424
- name: Test
25-
run: dotnet test --no-build --verbosity normal
26-
- name: publish
27-
run: dotnet publish -c Release
25+
run: dotnet test -c Release --no-build --verbosity normal
2826
- name: upload
2927
run: dotnet nuget push ./Akade.IndexedSet/bin/Release/Akade.IndexedSet.*.nupkg --source https://api.nuget.org/v3/index.json --api-key "$NUGET_KEY"
3028
env:

0 commit comments

Comments
 (0)