update yaml to push #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: push_nuget | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- README.md | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@main | |
- name: Setup MSBuild.exe | |
uses: microsoft/setup-msbuild@v2 | |
- name: Setup Nuget.exe | |
uses: nuget/setup-nuget@v2.0.0 | |
- name: Publish VL Nuget | |
uses: vvvv/PublishVLNuget@1.0.43 | |
with: | |
# 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 | |
csproj: csharp\SCSynth\SCSynth.csproj | |
nuspec: deployment\VL.SCSynth.nuspec | |
nuget-key: ${{ secrets.NUGET_KEY }} | |