Skip to content

Commit

Permalink
Fix site extension release script (#486)
Browse files Browse the repository at this point in the history
* fix site extension release GHA.

* need to build the NewRelic.NuGetHelper for the New Relic Azure Site Extension
  • Loading branch information
vuqtran88 authored Mar 5, 2021
1 parent 2bf4fc0 commit 700d6b5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/siteextension_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 700d6b5

Please sign in to comment.