We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b11c35d commit 8d66331Copy full SHA for 8d66331
.github/workflows/CD.yml
@@ -48,3 +48,16 @@ jobs:
48
export REPOSITORY_NAME=$(basename ${{ github.repository }})
49
wget "$SCRIPTS_BASE_URL/publish-release.sh"
50
bash ./publish-release.sh
51
+
52
+ pushNuGetToGitHubPackageRegistry:
53
+ needs: testAndDeploy
54
+ if: github.event_name == 'push'
55
+ runs-on: windows-latest
56
+ steps:
57
+ - uses: actions/checkout@v1
58
+ - uses: warrenbuckley/Setup-Nuget@v1
59
+ - name: Publish to GitHub Package Registry
60
+ run: |
61
+ dotnet pack -c Release
62
+ nuget source Add -Name "GitHub" -Source "https://nuget.pkg.github.com/linksplatform/index.json" -UserName linksplatform -Password ${{ secrets.GITHUB_TOKEN }}
63
+ nuget push **/*.nupkg -Source "GitHub" -SkipDuplicate
0 commit comments