File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,13 +14,17 @@ jobs:
1414 with :
1515 dotnet-version : 8.0.x
1616 - name : Setup NuGet
17- run : dotnet nuget add source ${{ secrets.ESDM_NUGET_HOSTED_URL }} -u ${{ secrets.NUGET_USERNAME }} -p ${{ secrets.NUGET_PASSWORD }} --store-password-in-clear-text
17+ run : dotnet nuget add source ${{ secrets.NUGET_SOURCE_URL }} -u ${{ secrets.NUGET_USERNAME }} -p ${{ secrets.NUGET_PASSWORD }} \
18+ --store-password-in-clear-text --name esdm-nexus
1819 - name : Restore dependencies
1920 run : dotnet restore
2021 - name : Build
2122 run : dotnet build -c Release
2223 - name : Create NuGet package
2324 run : dotnet pack -c Release
25+ - name : Auth to other Nexus repo
26+ run : dotnet nuget add source ${{ secrets.ESDM_NUGET_HOSTED_URL }} -u ${{ secrets.NUGET_USERNAME }} -p ${{ secrets.NUGET_PASSWORD }} \
27+ --store-password-in-clear-text --name esdm-nexus-target
2428 - name : Find and Push NuGet packages
2529 run : |
2630 PACKAGES=$(find . -name "*.nupkg" | grep -E "cloudscribe|sts\.Common")
3135 echo "Found packages: $PACKAGES"
3236 for PACKAGE in $PACKAGES; do
3337 echo "Pushing $PACKAGE"
34- dotnet nuget push "$PACKAGE" --source ${{ secrets.ESDM_NUGET_HOSTED_URL }} --skip-duplicate
38+ dotnet nuget push "$PACKAGE" --source esdm-nexus-target --skip-duplicate
3539 done
You can’t perform that action at this time.
0 commit comments