push_nuget #10
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 on master | |
on: | |
workflow_dispatch: | |
inputs: | |
buildnumber: | |
description: 'Build Number' | |
required: true | |
default: '1' | |
jobs: | |
deploy: | |
runs-on: windows-latest | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@master | |
- name: Setup MSBuild.exe | |
uses: microsoft/[email protected] | |
- name: Setup .NET Core SDK | |
uses: actions/[email protected] | |
- name: Publish VL Nuget | |
uses: vvvv/[email protected] | |
with: | |
csproj: src\uEyeExtensions\uEyeExtensions.csproj | |
nuspec: deployment\VL.Devices.uEye.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_API }} |