Skip to content

Commit e4f789a

Browse files
authored
Simplify condition for create_package job
Removed complex conditional logic for create_package job.
1 parent 63cb40b commit e4f789a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,6 @@ jobs:
117117
create_package:
118118
runs-on: windows-2022
119119
needs: build
120-
if: |
121-
(github.event_name == 'push' && (github.ref == 'refs/heads/main' || contains(github.ref, 'nuget') || startsWith(github.ref, 'refs/tags/v'))) ||
122-
(github.event.pull_request.head.repo.full_name != github.repository && (contains(github.event.pull_request.head.ref, 'nuget') || startsWith(github.event.pull_request.head.ref, 'refs/tags/v')))
123120

124121
env:
125122
DOTNET_NOLOGO: true

0 commit comments

Comments
 (0)