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