66jobs :
77 push-nuget :
88 runs-on : ubuntu-latest
9- steps :
10- - uses : actions/checkout@v4
11- - name : Setup .NET
12- uses : actions/setup-dotnet@v4
13- with :
14- dotnet-version : 8.0.x
15- - name : Setup NuGet
16- run : dotnet nuget add source ${{ secrets.ESDM_NUGET_HOSTED_URL }} -u ${{secrets.NUGET_USERNAME }} -p ${{ secrets.NUGET_PASSWORD }} --store-password-in-clear-text
17- - name : Restore dependencies
18- run : dotnet restore
19- - name : Build
20- run : dotnet build -c Release
21- - name : Create NuGet package
22- run : dotnet pack -c Release
23- - name : Publish NuGet package
24- run : dotnet nuget push **/*.nupkg --source ${{ secrets.ESDM_NUGET_HOSTED_URL }}
25- - name : Find and Push NuGet packages
26- run : |
9+ steps : # <-- Correct indentation
10+ - uses : actions/checkout@v4
11+ - name : Setup .NET
12+ uses : actions/setup-dotnet@v4
13+ with :
14+ dotnet-version : 8.0.x
15+ - name : Setup NuGet
16+ run : dotnet nuget add source ${{ secrets.ESDM_NUGET_HOSTED_URL }} -u ${{ secrets.NUGET_USERNAME }} -p ${{ secrets.NUGET_PASSWORD }} --store-password-in-clear-text
17+ - name : Restore dependencies
18+ run : dotnet restore
19+ - name : Build
20+ run : dotnet build -c Release
21+ - name : Create NuGet package
22+ run : dotnet pack -c Release
23+ - name : Publish NuGet package
24+ run : dotnet nuget push **/*.nupkg --source ${{ secrets.ESDM_NUGET_HOSTED_URL }}
25+ - name : Find and Push NuGet packages
26+ run : |
2727 PACKAGES=$(find . -name "*.nupkg" | grep -E "cloudscribe|sts\.Common")
2828 if [ -z "$PACKAGES" ]; then
2929 echo "No matching package found. Exiting."
3333 for PACKAGE in $PACKAGES; do
3434 echo "Pushing $PACKAGE"
3535 done
36-
0 commit comments