Skip to content

push_nuget

push_nuget #8

Workflow file for this run

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: Build
run: msbuild src\uEyeExtensions\uEyeExtensions.sln /t:Build /v:m /m /restore /p:Configuration=Release
- name: Setup Nuget.exe
uses: nuget/setup-nuget@v1
- 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 }}