File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 89
89
echo "ls output directory"
90
90
ls -R ./output/nightly
91
91
dotnet nuget push --api-key AzureArtifacts ./output/nightly/*.nupkg --skip-duplicate
92
- dotnet nuget push --api-key AzureArtifacts ./output/nightly/*.snupkg --skip-duplicate
93
92
env :
94
93
AZURE_ARTIFACTS_FEED_URL : https://devdiv.pkgs.visualstudio.com/DevDiv/_packaging/AutoGen/nuget/v3/index.json
95
- NUGET_AUTH_TOKEN : ${{ secrets.AZURE_DEVOPS_TOKEN }}
94
+ NUGET_AUTH_TOKEN : ${{ secrets.AZURE_DEVOPS_TOKEN }}
95
+ - name : Publish nightly package to github package
96
+ run : |
97
+ echo "Publish nightly package to github package"
98
+ echo "ls output directory"
99
+ ls -R ./output/nightly
100
+ dotnet nuget add source --username USERNAME --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/microsoft/index.json"
101
+ dotnet nuget push --api-key ${{ secrets.GITHUB_TOKEN }} --source github ./output/nightly/*.nupkg --skip-duplicate
96
102
You can’t perform that action at this time.
0 commit comments