-
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (24 loc) · 650 Bytes
/
nuget.yml
File metadata and controls
26 lines (24 loc) · 650 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
25
26
name: NuGet
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5.2.0
with:
dotnet-version: |
10.0.100-preview.1.25120.13
9.x
8.x
- uses: nuget/setup-nuget@v4
with:
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
nuget-version: 'latest'
- run: pwsh ./build-nuget.ps1
- run: nuget push -src "https://api.nuget.org/v3/index.json" nupkg/DisCatSharp.ProjectTemplates.*
shell: pwsh