Skip to content

Commit 8769fa2

Browse files
committed
Updated GA script.
1 parent 7bcdf07 commit 8769fa2

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/build.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
4141
- name: Setup NuGet package reference
4242
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
4444
# 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
4545

4646
#-----------------------------------------------------------------------
@@ -62,9 +62,9 @@ jobs:
6262
#-----------------------------------------------------------------------
6363
# Deploy packages (develop)
6464

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
6868

6969
#-----------------------------------------------------------------------
7070
# Deploy packages (main)

nuget.config

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
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>

0 commit comments

Comments
 (0)