diff --git a/README.md b/README.md index 1265803..ba7fac6 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ This package injects some custom MSBuild tasks that do the following: 3. Adds a `beforeStart` js blazor initialization module, using a custom `loadBootResource` function to restore the MZ header of the dll after downloaded but before loaded by dotnet.wasm ## How to use -1. Add the nuget package in your Client (wasm) AND your Server (if blazor wasm hosted) projects +1. Add the nuget package in your **Client** (wasm) AND your **Server** (if blazor wasm hosted) projects ``` > dotnet add package BlazorWasmAntivirusProtection diff --git a/azure-pipelines-sample-apps.yml b/azure-pipelines-sample-apps.yml new file mode 100644 index 0000000..7844e01 --- /dev/null +++ b/azure-pipelines-sample-apps.yml @@ -0,0 +1,34 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: + branches: + include: + - master + paths: + include: + - sampleapps + +pool: + vmImage: ubuntu-latest + +workspace: + clean: all + +steps: + - task: UseDotNet@2 + inputs: + packageType: 'sdk' + useGlobalJson: true + - task: PowerShell@2 + inputs: + filePath: 'scripts/build-sample-apps.ps1' + arguments: '$(VersionSuffix)' + + - task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: 'artifacts/sample-apps' + ArtifactName: 'drop' + publishLocation: 'Container' \ No newline at end of file diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 33aa2ab..c453e6a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -4,8 +4,14 @@ # https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core trigger: -- master -- develop + branches: + include: + - master + - develop + paths: + include: + - src + pool: vmImage: 'windows-latest'