Skip to content

Updated NuGet dependencies #51

Updated NuGet dependencies

Updated NuGet dependencies #51

Workflow file for this run

name: Build and publish
on:
push:
branches:
- master # Default release branch
jobs:
publish:
name: build, pack & publish
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Setup MSBuild Path
uses: microsoft/setup-msbuild@v1.1
- name: Setup NuGet
uses: NuGet/setup-nuget@v1
- name: Restore NuGet Packages
run: nuget restore MetaMask.Blazor.sln
- name: Build
run: msbuild MetaMask.Blazor.sln /p:Configuration=Release /p:DeployOnBuild=true /p:PublishProfile=FolderProfile
- name: Publish MetaMask.Blazor
run: dotnet nuget push MetaMask.Blazor\bin\Release\*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate