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 d218bf1
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ name: Builder

env:
Build_Repository_Folderpath: ${{ github.workspace }}
Laerdal_Test_Results_Folderpath: $Build_Repository_Folderpath/TestResults

on:
push:
Expand All @@ -22,6 +21,10 @@ jobs:
build:

runs-on: macos-14

env:
Test_Results_Folderpath: "$Build_Repository_Folderpath/TestResults"
Build_Artifacts_Folderpath: "$Build_Repository_Folderpath/Artifacts"

steps:

Expand All @@ -34,10 +37,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 +58,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 d218bf1

Please sign in to comment.