File tree Expand file tree Collapse file tree 1 file changed +1
-26
lines changed Expand file tree Collapse file tree 1 file changed +1
-26
lines changed Original file line number Diff line number Diff line change @@ -132,33 +132,8 @@ jobs:
132
132
Write-Output "::error::$invalidPackages NuGet package(s) failed validation."
133
133
}
134
134
135
- publish-github :
136
- needs : [ build, validate-packages ]
137
- permissions :
138
- packages : write
139
- runs-on : ubuntu-latest
140
- if : false # Temporarily disabled
141
- # if: |
142
- # github.event.repository.fork == false &&
143
- # (github.ref_name == github.event.repository.default_branch ||
144
- # startsWith(github.ref, 'refs/tags/'))
145
- steps :
146
-
147
- - name : Download packages
148
- uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
149
- with :
150
- name : packages-windows
151
-
152
- - name : Setup .NET SDK
153
- uses : actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0
154
- with :
155
- dotnet-version : ${{ needs.build.outputs.dotnet-sdk-version }}
156
-
157
- - name : Publish NuGet packages to GitHub Packages
158
- run : dotnet nuget push "*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate --no-symbols --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
159
-
160
135
sign :
161
- needs : [ build, publish-github ]
136
+ needs : [ build, validate-packages ]
162
137
runs-on : windows-latest
163
138
if : |
164
139
github.event.repository.fork == false &&
You can’t perform that action at this time.
0 commit comments