-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (32 loc) · 1.02 KB
/
Copy pathmain.yml
File metadata and controls
40 lines (32 loc) · 1.02 KB
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
name: push_nuget
# on push on master
on:
push:
branches:
- master
paths-ignore:
- README.md
jobs:
build:
runs-on: windows-latest
steps:
- name: Git Checkout
uses: actions/checkout@master
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1.0.2
- name: Setup Nuget.exe
uses: nuget/setup-nuget@v1
- name: Restore Packages
run: nuget restore src\VL.NewAudio.sln
- name: Build Solution
run: msbuild.exe src\VL.NewAudio.sln /p:platform="Any CPU" /p:configuration="Release"
- name: Run Tests
run: lib-test\net472\VL.NewAudio.Test.exe
- name: Publish VL Nuget
uses: vvvv/PublishVLNuget@1.0.29
with:
csproj: src\NewAudio\VL.NewAudio.csproj
nuspec: deployment\VL.NewAudio.nuspec
icon-src: https://raw.githubusercontent.com/vvvv/PublicContent/master/nugeticon.png
icon-dst: ./deployment/nugeticon.png
nuget-key: ${{ secrets.NUGET_KEY }}