From 4a5332b9360d00d0b489c959b553149cc5058b78 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Fri, 21 Aug 2020 13:25:59 +0200 Subject: [PATCH] Fixed conditional * .github/workflows/windows.yml: --- .github/workflows/windows.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 75a1058e235..db1062a3b72 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -115,12 +115,11 @@ jobs: echo "ssl=1" | out-file -append -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features echo "versioned_namespace=1" | out-file -append -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features shell: pwsh - - - powershell: | - echo $(OptionalFeatures) | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features - displayName: Add optional features ($(OptionalFeatures)) - condition: and(succeeded(), ne(variables['OptionalFeatures'], '')) - + - name: Add optional features ${{ matrix.OptionalFeatures }} + run: | + echo ${{ matrix.OptionalFeatures }} | out-file -append -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features + shell: pwsh + if: ${{ matrix.OptionalFeatures }} != '' - name: Run mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc run: | perl ${env:ACE_ROOT}/bin/mwc.pl -type {{ matrix.mpctype }} ${env:TAO_ROOT}/TAO_ACE.mwc -workers 4 -- 2.11.4.GIT