Merge pull request #8 from EmilAlipiev/EmilAlipiev-patch-1 #18
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: 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 |