From 700d6b5e0465daf6c73014f99b1689fffdac588b Mon Sep 17 00:00:00 2001 From: Vu Tran <56414817+vuqtran88@users.noreply.github.com> Date: Fri, 5 Mar 2021 11:49:36 -0800 Subject: [PATCH] Fix site extension release script (#486) * fix site extension release GHA. * need to build the NewRelic.NuGetHelper for the New Relic Azure Site Extension --- .github/workflows/siteextension_release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/siteextension_release.yml b/.github/workflows/siteextension_release.yml index 0637a43b88..10470a592e 100644 --- a/.github/workflows/siteextension_release.yml +++ b/.github/workflows/siteextension_release.yml @@ -28,12 +28,24 @@ jobs: env: artifacts_script_path: ${{ github.workspace }}\build + nuget_helper_project_path: ${{ github.workspace }}\build\NewRelic.NuGetHelper\NewRelic.NuGetHelper.csproj steps: - name: Checkout uses: actions/checkout@v2 with: fetch-depth: 0 + + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v1 + + - name: Build NewRelic.NuGetHelper + run: | + Write-Host "Build NewRelic.NuGetHelper" + dotnet nuget list source + Write-Host "MSBuild.exe -restore -m -p:Configuration=Release -p:AllowUnsafeBlocks=true ${{ env.nuget_helper_project_path }}" + MSBuild.exe -restore -m -p:Configuration=Release -p:AllowUnsafeBlocks=true ${{ env.nuget_helper_project_path }} + shell: powershell - name: Run ArtifactBuilder run: |