mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-14 13:06:43 +00:00
adding nuget.org publishing
This commit is contained in:
parent
76443f0825
commit
cf21ae888a
1 changed files with 4 additions and 0 deletions
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
|
|
@ -144,10 +144,14 @@ jobs:
|
||||||
uses: nuget/setup-nuget@v1
|
uses: nuget/setup-nuget@v1
|
||||||
- name: Add Github Packages source
|
- name: Add Github Packages source
|
||||||
run: nuget sources add -name github -source https://nuget.pkg.github.com/pepperdash/index.json -username Pepperdash -password ${{ secrets.GITHUB_TOKEN }}
|
run: nuget sources add -name github -source https://nuget.pkg.github.com/pepperdash/index.json -username Pepperdash -password ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Add nuget.org source
|
||||||
|
run: nuget sources add -name nuget -source https://api.nuget.org/v3/index.json -key ${{ secrets.NUGET_API_KEY }}
|
||||||
- name: Create nuget package
|
- name: Create nuget package
|
||||||
run: nuget pack "./PepperDash_Core.nuspec" -version ${{ env.VERSION }}
|
run: nuget pack "./PepperDash_Core.nuspec" -version ${{ env.VERSION }}
|
||||||
- name: Publish nuget package to Github registry
|
- name: Publish nuget package to Github registry
|
||||||
run: nuget push **/*.nupkg -source github
|
run: nuget push **/*.nupkg -source github
|
||||||
|
- name: Publish nuget package to nuget.org
|
||||||
|
run: nuget push **/*.nupkg -source nuget
|
||||||
# This step always runs and pushes the build to the internal build rep
|
# This step always runs and pushes the build to the internal build rep
|
||||||
Internal_Push_Output:
|
Internal_Push_Output:
|
||||||
needs: Build_Project
|
needs: Build_Project
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue