We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00a2cdf commit eb50152Copy full SHA for eb50152
1 file changed
.github/workflows/nuget.yml
@@ -16,6 +16,8 @@ jobs:
16
uses: actions/setup-dotnet@v1
17
with:
18
dotnet-version: 3.1.101
19
+ - name: Download latest NuGet (cross-platform)
20
+ uses: olegtarasov/download-nuget@v1
21
- name: Remove .sqlproj
22
run: dotnet sln DockerizedTesting.sln remove Examples/ExampleDatabase*/*.*proj
23
- name: Install dependencies
@@ -24,5 +26,9 @@ jobs:
24
26
run: dotnet build --configuration Release --no-restore
25
27
- name: Test
28
run: dotnet test --no-restore --verbosity normal
29
+ - name: Pack
30
+ run: dotnet pack --no-restore --verbosity normal -o ./nuget
31
- name: Publish
- run: dotnet publish --no-restore --verbosity normal
32
+ run: nuget.exe push -ApiKey "$NUGET_KEY" -SkipDuplicate -NonInteractive -Source "https://www.nuget.org/" "nuget/"
33
+ env:
34
+ NUGET_KEY: ${{ secrets.NUGET_KEY }}
0 commit comments