File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 5757 name : ${{matrix.os}}
5858 path : ' ./artifacts'
5959
60- push-github-packages :
61- name : ' Push GitHub Packages'
62- needs : build
63- if : github.ref == 'refs/heads/main' || github.event_name == 'release'
64- environment :
65- name : ' GitHub Packages'
66- url : https://github.com/octokit/webhooks.net/packages
67- permissions :
68- packages : write
69- runs-on : windows-latest
70- steps :
71- - name : ' Download artifact'
72- uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
73- with :
74- name : ' windows-latest'
75- - name : ' Dotnet NuGet Add Source'
76- run : dotnet nuget add source https://nuget.pkg.github.com/octokit/index.json --name GitHub --username octokit --password ${{secrets.GITHUB_TOKEN}}
77- shell : pwsh
78- - name : ' Dotnet NuGet Push'
79- run : dotnet nuget push .\*.nupkg --api-key ${{ github.token }} --source GitHub --skip-duplicate
80- shell : pwsh
81-
8260 push-nuget :
8361 name : ' Push NuGet Packages'
8462 needs : build
You can’t perform that action at this time.
0 commit comments