Merge pull request #4 from phlegma/setup #5
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
# 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.Devices.Robotiq.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 }} |