From e92f93971dd26b7c9f827dff3498492510fd8c63 Mon Sep 17 00:00:00 2001 From: stavroskasidis Date: Thu, 3 Feb 2022 11:17:50 +0200 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From e70c525ffa3d5c77cc3434b47861368e3e51d8a4 Mon Sep 17 00:00:00 2001 From: stavroskasidis Date: Thu, 3 Feb 2022 11:20:18 +0200 Subject: [PATCH 2/3] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e70b60a..0eec26e 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' From e56d63504db0f1e7c155d26a01ba29edd2b84fa5 Mon Sep 17 00:00:00 2001 From: stavroskasidis Date: Thu, 3 Feb 2022 11:30:46 +0200 Subject: [PATCH 3/3] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines-sample-apps.yml | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 azure-pipelines-sample-apps.yml 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