Skip to content

Commit c814f73

Browse files
committed
Use gated push for rel/* instead of main push logic
1 parent 58ac747 commit c814f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ jobs:
302302
dotnet nuget push "*.nupkg" --api-key dummy --source PullRequests --skip-duplicate
303303
304304
- name: Push packages (main)
305-
if: ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/rel/')) && env.HAS_BUILDABLE_COMPONENTS == 'true' }}
305+
if: ${{ github.ref == 'refs/heads/main' && env.HAS_BUILDABLE_COMPONENTS == 'true' }}
306306
run: |
307307
dotnet nuget add source https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-Labs/nuget/v3/index.json `
308308
--name LabsFeed `

0 commit comments

Comments
 (0)