generated from vvvv/VL.NewLibrary.Template
-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (32 loc) · 1.01 KB
/
main.yml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# For more information see:
# https://thegraybook.vvvv.org/reference/extending/publishing.html
name: push_nuget
# on push on main
on:
push:
branches:
- main
paths-ignore:
- README.md
jobs:
build:
runs-on: windows-latest
steps:
- name: Git Checkout
uses: actions/checkout@master
# with:
# lfs: 'true'
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v2
- name: Setup Nuget.exe
uses: nuget/[email protected]
- name: Publish VL Nuget
uses: vvvv/[email protected]
with:
csproj: src\VL.NewLibrary.Template.csproj
nuspec: deployment\VL.NewLibrary.Template.nuspec
# Fill the Icon file
icon-src: https://raw.githubusercontent.com/vvvv/PublicContent/master/nugeticon.png
icon-dst: ./deployment/nugeticon.png
# Provide the nuget key. See: https://thegraybook.vvvv.org/reference/extending/publishing.html#getting-a-nugetorg-api-key
nuget-key: ${{ secrets.NUGET_KEY }}