Skip to content

Merge pull request #8 from EmilAlipiev/EmilAlipiev-patch-1 #18

Merge pull request #8 from EmilAlipiev/EmilAlipiev-patch-1

Merge pull request #8 from EmilAlipiev/EmilAlipiev-patch-1 #18

Workflow file for this run

name: Nuget Package Deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- name: Setup NuGet.exe
uses: NuGet/[email protected]
- name: setup-msbuild
uses: microsoft/setup-msbuild@v1
- name: Build with dotnet
run: msbuild SamsungAccessorySDK\SamsungAccessorySDK.csproj -property:Configuration=Release
- name: Nuget Pack
run: nuget pack SamsungAccessorySDK.nuspec
- name: Push Package to nuget
run: dotnet nuget push **/*.nupkg
--api-key ${{ secrets.nugetapikey }}
--source https://api.nuget.org/v3/index.json