File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 40
40
41
41
- name : Setup NuGet package reference
42
42
run : |
43
- # dotnet nuget add source ${{secrets.GH_LOCAL_NUGET_URL}} -n ref1 -u ${{secrets.GH_LOCAL_NUGET_USER}} -p ${{secrets.GH_LOCAL_NUGET_PASSWORD}} --store-password-in-clear-text --configfile nuget.config
43
+ dotnet nuget add source ${{secrets.GH_LOCAL_NUGET_URL}} -n ref1 -u ${{secrets.GH_LOCAL_NUGET_USER}} -p ${{secrets.GH_LOCAL_NUGET_PASSWORD}} --store-password-in-clear-text --configfile nuget.config
44
44
# dotnet nuget add source ${{secrets.GH_NUGET_URL}} -n ref2 -u ${{secrets.GH_NUGET_USER}} -p ${{secrets.GH_NUGET_PASSWORD}} --store-password-in-clear-text --configfile nuget.config
45
45
46
46
# -----------------------------------------------------------------------
62
62
# -----------------------------------------------------------------------
63
63
# Deploy packages (develop)
64
64
65
- # - name: Deploy NuGet package (develop/ref1)
66
- # if: startsWith( github.ref, 'refs/tags/' )
67
- # run: dotnet nuget push artifacts/GitReader.*.nupkg --source ref1
65
+ - name : Deploy NuGet package (develop/ref1)
66
+ if : startsWith( github.ref, 'refs/tags/' )
67
+ run : dotnet nuget push artifacts/GitReader.*.nupkg --source ref1
68
68
69
69
# -----------------------------------------------------------------------
70
70
# Deploy packages (main)
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <configuration >
3
+ <packageSources >
4
+ <add key =" nuget.org" value =" https://api.nuget.org/v3/index.json" protocolVersion =" 3" />
5
+ </packageSources >
6
+ </configuration >
You can’t perform that action at this time.
0 commit comments