Skip to content

NuGet dependencies updated #49

NuGet dependencies updated

NuGet dependencies updated #49

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@v1
with:
dotnet-version: 7.0.x
- name: Setup MSBuild Path
uses: microsoft/[email protected]
- 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