From db29e0fd3b6426208f0a1b4ec8ab8f9851e857e1 Mon Sep 17 00:00:00 2001 From: Kyriakos Sidiropoulos Date: Wed, 13 Mar 2024 17:35:37 +0100 Subject: [PATCH] fix (github-actions.yml): stop using quotes when setting env variables --- .github/workflows/github-actions.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 0853f848..b89c6879 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -13,7 +13,7 @@ on: - "**" # only trigger on branches not on tags pull_request: - branches: + branches: - "main" - "develop" @@ -21,10 +21,6 @@ jobs: build: runs-on: macos-14 - - env: - Test_Results_Folderpath: "$Build_Repository_Folderpath/TestResults" - Build_Artifacts_Folderpath: "$Build_Repository_Folderpath/Artifacts" steps: @@ -37,7 +33,7 @@ jobs: shell: bash - name: 'Add Artifacts folder as a local NuGet Source' - run: ' dotnet nuget add source "$Build_Artifacts_Folderpath" --name "LocalArtifacts" ' + run: ' dotnet nuget add source "$Build_Repository_Folderpath/Artifacts" --name "LocalArtifacts" ' shell: bash - name: 'List Nuget Sources' @@ -59,9 +55,9 @@ jobs: -m:1 \ -p:ShouldSkipMacCatalyst="true" \ \ - -p:PackageOutputPath="$Build_Artifacts_Folderpath" \ + -p:PackageOutputPath="$Build_Repository_Folderpath/Artifacts" \ -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="$Test_Results_Folderpath" + -p:Laerdal_Test_Results_Folderpath="$Build_Repository_Folderpath/TestResults"