File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 71
71
fail-fast : true
72
72
matrix :
73
73
dotnet : ['5.0.x']
74
- env :
75
- PUSH_TO_FEEDZ : github.event_name == 'pull_request' || (github.event_name == 'repository_dispatch' && github.event.client_payload.feedz == true) || (github.event_name == 'workflow_dispatch' && github.event.inputs.deployToFeedz == 'true')
76
- PUSH_TO_NUGET : github.event_name == 'push' || (github.event_name == 'repository_dispatch' && github.event.client_payload.nuget == true) || (github.event_name == 'workflow_dispatch' && github.event.inputs.deployToNuget == 'true')
77
74
78
75
steps :
79
76
- uses : actions/checkout@v1
94
91
95
92
- name : Push to feedz.io
96
93
run : dotnet nuget push **/*.nupkg -k ${{ secrets.FEEDZ_API_KEY }} -s ${{ env.FEEDZ_URI }}
97
- if : env.PUSH_TO_FEEDZ
94
+ if : github.event_name == 'pull_request' || (github.event_name == 'repository_dispatch' && github.event.client_payload.feedz == true) || (github.event_name == 'workflow_dispatch' && github.event.inputs.deployToFeedz == 'true')
98
95
99
96
- name : Push to NuGet.org
100
97
run : dotnet nuget push **/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
101
- if : env.PUSH_TO_NUGET
98
+ if : github.event_name == 'push' || (github.event_name == 'repository_dispatch' && github.event.client_payload.nuget == true) || (github.event_name == 'workflow_dispatch' && github.event.inputs.deployToNuget == 'true')
You can’t perform that action at this time.
0 commit comments