Skip to content

Commit

Permalink
fix (github-actions.yml): fix the artifacts-folderpath passed on the …
Browse files Browse the repository at this point in the history
…to 'dotnet msbuild'
  • Loading branch information
ksidirop-laerdal committed Mar 13, 2024
1 parent 182afd4 commit 799d160
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ name: Builder

env:
Build_Repository_Folderpath: ${{ github.workspace }}
Laerdal_Test_Results_Folderpath: $Build_Repository_Folderpath/TestResults
Build_Artifacts_Folderpath: ${{ runner.temp }}/Artifacts
Test_Results_Folderpath: $Build_Repository_Folderpath/TestResults

on:
push:
Expand Down Expand Up @@ -34,10 +35,8 @@ jobs:
shell: bash

- name: 'Add Artifacts folder as a local NuGet Source'
run: ' dotnet nuget add source "$Build_Artifact_Staging_Directory/Artifacts" --name "LocalArtifacts" '
run: ' dotnet nuget add source "$Build_Artifacts_Folderpath" --name "LocalArtifacts" '
shell: bash
env:
Build_Artifact_Staging_Directory: ${{ runner.temp }}

- name: 'List Nuget Sources'
run: dotnet nuget list source
Expand All @@ -57,9 +56,9 @@ jobs:
"Laerdal.McuMgr.Builder.targets" \
-m:1 \
-p:ShouldSkipMacCatalyst="true" \
-p:PackageOutputPath="$Build_Artifact_Staging_Directory/Artifacts/" \
-p:PackageOutputPath="$Build_Artifacts_Folderpath" \
-p:Laerdal_Gradle_Path="/usr/local/opt/gradle@7/bin/gradle" \
-p:Laerdal_Source_Branch="$Source_Branch_Fullpath" \
-p:Laerdal_Repository_Path="$Github_Repository_Path" \
-p:Laerdal_Github_Access_Token="$Components_Team_Github_Access_Token" \
-p:Laerdal_Test_Results_Folderpath="$Laerdal_Test_Results_Folderpath"
-p:Laerdal_Test_Results_Folderpath="$Test_Results_Folderpath"

0 comments on commit 799d160

Please sign in to comment.