File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -152,22 +152,24 @@ jobs:
152152 run : msbuild.exe CommunityToolkit.AllComponents.sln /restore /nowarn:MSB4011 -p:Configuration=Release
153153
154154 # Build All Packages
155- - name : pack experiments
155+ - name : Pack experiments
156156 working-directory : ./tooling/Scripts/
157157 run : ./PackEachExperiment.ps1 -date ${{ env.VERSION_DATE }}${{ env.VERSION_PROPERTY != '' && format(' -postfix {0}', env.VERSION_PROPERTY) || '' }}
158-
158+
159159 # Push Pull Request Packages to our DevOps Artifacts Feed (see nuget.config)
160- - name : Push Pull Request Packages (if not fork)
160+ - name : Push PR packages (if not fork)
161161 if : ${{ env.IS_PR == 'true' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' }}
162162 run : |
163163 dotnet nuget add source https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-PullRequests/nuget/v3/index.json `
164164 --name PullRequests `
165165 --username dummy --password ${{ secrets.DEVOPS_PACKAGE_PUSH_TOKEN }}
166166 dotnet nuget push "**/*.nupkg" --api-key dummy --source PullRequests --skip-duplicate
167167
168- - name : Push packages
168+ - name : Push packages (main)
169169 if : ${{ github.ref == 'refs/heads/main' }}
170- run : dotnet nuget push "**/*.nupkg" --api-key dummy --source LabsFeed --skip-duplicate
170+ run : |
171+ dotnet nuget update source LabsFeed --username dummy --password ${{ secrets.DEVOPS_PACKAGE_PUSH_TOKEN }} `
172+ dotnet nuget push "**/*.nupkg" --api-key dummy --source LabsFeed --skip-duplicate
171173
172174 # Run tests
173175 - name : Setup VSTest Path
You can’t perform that action at this time.
0 commit comments