Skip to content

Commit

Permalink
Fixed artifact builder paths to build properties (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
angelatan2 authored Mar 5, 2021
1 parent a121ad4 commit cfc97be
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/awslambda_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ jobs:
if: ${{ github.event.release }}
name: Run ArtifactBuilder
runs-on: windows-2019

env:
artifacts_script_path: ${{ github.workspace }}\build

steps:
- name: Checkout
Expand All @@ -120,10 +123,9 @@ jobs:

- name: Run ArtifactBuilder
run: |
$rootDirectory = Resolve-Path "$(Split-Path -Parent $PSCommandPath)\.."
$configuration = "Release"
$artifactBuilderCsproj = "$rootDirectory\build\ArtifactBuilder\ArtifactBuilder.csproj"
& "$rootDirectory\build\generateBuildProperties.ps1" -outputPath "$rootDirectory\build\BuildArtifacts\_buildProperties"
$artifactBuilderCsproj = "${{ env.artifacts_script_path }}\ArtifactBuilder\ArtifactBuilder.csproj"
& "${{ env.artifacts_script_path }}\generateBuildProperties.ps1" -outputPath "${{ env.artifacts_script_path }}\BuildArtifacts\_buildProperties"
dotnet run --project "$artifactBuilderCsproj" NugetAwsLambdaOpenTracer $configuration
shell: powershell

Expand Down

0 comments on commit cfc97be

Please sign in to comment.