@@ -2,31 +2,31 @@ name: Deploy to Nuget
2
2
3
3
on :
4
4
release :
5
- types : [ published ]
6
-
5
+ types : [published]
6
+
7
7
jobs :
8
8
build :
9
-
10
9
runs-on : ubuntu-latest
11
10
12
11
steps :
13
- - uses : actions/checkout@v2
14
- - name : Setup .NET Core
15
- uses : actions/setup-dotnet@v1
16
- with :
17
- dotnet-version : |
12
+ - uses : actions/checkout@v2
13
+ - name : Setup .NET Core
14
+ uses : actions/setup-dotnet@v1
15
+ with :
16
+ dotnet-version : |
18
17
6.0.x
19
18
7.0.x
19
+ 8.0.x
20
20
21
- - name : Install dependencies
22
- run : dotnet restore
23
- - name : Packing Nuget
24
- run : dotnet pack --configuration Release --no-restore /p:Version=${{ github.event.release.tag_name }} /p:PackageReleaseNotes="See https://github.com/leonibr/community-extensions-cache-postgres/releases/tag/${{ github.event.release.tag_name }}"
25
- working-directory : ./Extensions.Caching.PostgreSql/
26
- - name : Archive NuGet Package
27
- uses : actions/upload-artifact@v1
28
- with :
29
- name : Extensions.Caching.PostgreSql
30
- path : ./Extensions.Caching.PostgreSql/bin/Release/Community.Microsoft.Extensions.Caching.PostgreSql.${{ github.event.release.tag_name }}.nupkg
31
- - name : Deploy to Nuget
32
- run : dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_SECRET }} --source https://api.nuget.org/v3/index.json --no-symbols true
21
+ - name : Install dependencies
22
+ run : dotnet restore
23
+ - name : Packing Nuget
24
+ run : dotnet pack --configuration Release --no-restore /p:Version=${{ github.event.release.tag_name }} /p:PackageReleaseNotes="See https://github.com/leonibr/community-extensions-cache-postgres/releases/tag/${{ github.event.release.tag_name }}"
25
+ working-directory : ./Extensions.Caching.PostgreSql/
26
+ - name : Archive NuGet Package
27
+ uses : actions/upload-artifact@v1
28
+ with :
29
+ name : Extensions.Caching.PostgreSql
30
+ path : ./Extensions.Caching.PostgreSql/bin/Release/Community.Microsoft.Extensions.Caching.PostgreSql.${{ github.event.release.tag_name }}.nupkg
31
+ - name : Deploy to Nuget
32
+ run : dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_SECRET }} --source https://api.nuget.org/v3/index.json --no-symbols true
0 commit comments