From 11934de73350b9b8f43bc61bdb8835d43fba2b82 Mon Sep 17 00:00:00 2001 From: Kouji Matsui Date: Sun, 5 Nov 2023 17:48:28 +0900 Subject: [PATCH] Updated GA script. --- .github/workflows/build.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c5a927e..844fccc 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -40,7 +40,7 @@ jobs: - name: Setup NuGet package reference run: | -# 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 + 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 # 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 #----------------------------------------------------------------------- @@ -62,9 +62,9 @@ jobs: #----------------------------------------------------------------------- # Deploy packages (develop) - #- name: Deploy NuGet package (develop/ref1) - # if: startsWith( github.ref, 'refs/tags/' ) - # run: dotnet nuget push artifacts/GitReader.*.nupkg --source ref1 + - name: Deploy NuGet package (develop/ref1) + if: startsWith( github.ref, 'refs/tags/' ) + run: dotnet nuget push artifacts/GitReader.*.nupkg --source ref1 #----------------------------------------------------------------------- # Deploy packages (main)