File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 1
- name : Publish .NET Library to Package Repositories
1
+ name : Publish .NET Library to NuGet
2
2
3
3
on :
4
4
release :
7
7
8
8
jobs :
9
9
publish-prism :
10
- name : Build and publish Prism library to GitHub Packages and NuGet
10
+ name : Build and publish Prism library to NuGet
11
11
runs-on : ubuntu-latest
12
12
permissions :
13
13
contents : write
48
48
- name : Pack the project
49
49
run : dotnet pack Prism.csproj --no-build -c Release --output ./nupkgs
50
50
51
- - name : Publish to GitHub Packages
52
- run : dotnet nuget push "./nupkgs/*.nupkg" --source "github" --skip-duplicate
53
- env :
54
- NUGET_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55
-
56
51
- name : Publish to NuGet
57
- run : dotnet nuget push "./nupkgs/*.nupkg" --source "nuget.org" --skip-duplicate
58
- env :
59
- NUGET_AUTH_TOKEN : ${{ secrets.NUGET_API_KEY }}
52
+ run : dotnet nuget push "./nupkgs/*.nupkg" --source "https://api.nuget.org/v3/index.json" --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate
You can’t perform that action at this time.
0 commit comments