-
-
Notifications
You must be signed in to change notification settings - Fork 90
24 lines (19 loc) · 629 Bytes
/
NuGet.yml
File metadata and controls
24 lines (19 loc) · 629 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: "NuGet"
on: [workflow_dispatch]
jobs:
publish:
name: Publish Packages
runs-on: ubuntu-latest
steps:
- name: Download Artifacts
uses: dawidd6/action-download-artifact@v6
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: ci.yml
workflow_conclusion: success
branch: ${{github.ref_name}}
name: nugetPackages-${{github.ref_name}}
- name: Display structure of downloaded files
run: ls -R
- name: Push package to NuGet.org
run: dotnet nuget push "**/*.nupkg" -k ${{ secrets.NUGET }} -s https://api.nuget.org/v3/index.json