We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76d4fbc commit 77e75ffCopy full SHA for 77e75ff
.github/workflows/CD.yml
@@ -38,3 +38,16 @@ jobs:
38
run: |
39
export REPOSITORY_NAME=$(basename ${{ github.repository }})
40
bash ./publish-release.sh
41
+
42
+ pushNuGetToGitHubPackageRegistry:
43
+ needs: buildAndDeploy
44
+ if: github.event_name == 'push'
45
+ runs-on: windows-latest
46
+ steps:
47
+ - uses: actions/checkout@v1
48
+ - uses: warrenbuckley/Setup-Nuget@v1
49
+ - name: Publish to GitHub Package Registry
50
+ run: |
51
+ dotnet pack -c Release
52
+ nuget source Add -Name "GitHub" -Source "https://nuget.pkg.github.com/linksplatform/index.json" -UserName linksplatform -Password ${{ secrets.GITHUB_TOKEN }}
53
+ nuget push **/*.nupkg -Source "GitHub" -SkipDuplicate
0 commit comments