File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 11name : Publish Nuget
2- run-name : ${{ github.actor }} is updating dev.im-booth.com Frontend 🚀
2+ run-name : ${{ github.actor }} is updating ${{ github.repository }} 🚀
33on :
44 push :
55 branches :
@@ -22,10 +22,16 @@ jobs:
2222 - name : Upload
2323 uses : actions/upload-artifact@v4
2424 with :
25- name : nuget
25+ name : ${{ github.repository }}
2626 if-no-files-found : error
2727 retention-days : 7
2828 path : pack/*.nupkg
29+
30+ - name : Publish Nuget
31+ run : |
32+ foreach($file in (Get-ChildItem pack/ -Recurse -Include *.nupkg)) {
33+ dotnet nuget push $file --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
34+ }
2935
3036 - uses : sarisia/actions-status-discord@v1
3137 if : always()
You can’t perform that action at this time.
0 commit comments