From db3f521199d0d25e3ff250492154d8ffdf09802c Mon Sep 17 00:00:00 2001 From: Patrik Koczka Date: Thu, 28 Sep 2023 09:30:25 +0200 Subject: [PATCH] #193 Syntax error for env --- .github/workflows/AutosarUmlActionExample.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/AutosarUmlActionExample.yml b/.github/workflows/AutosarUmlActionExample.yml index 8c9b152..e73a21a 100644 --- a/.github/workflows/AutosarUmlActionExample.yml +++ b/.github/workflows/AutosarUmlActionExample.yml @@ -24,8 +24,8 @@ jobs: - name: Backup current model id: backupModel run: | - $qeaxLocation = '${{ runner.temp }}/${{EA_FILENAME}}-old.${{EA_FILEEXTENSION}}' - $currentQeaxLocation = '.\${{EA_FILENAME}}.${{EA_FILEEXTENSION}}' + $qeaxLocation = '${{ runner.temp }}/"${{EA_FILENAME}}-old.${{EA_FILEEXTENSION}}"' + $currentQeaxLocation = '.\"${{EA_FILENAME}}.${{EA_FILEEXTENSION}}"' Copy-Item -Path $currentQeaxLocation -Destination $qeaxLocation echo "backupQeax=$qeaxLocation" >> $env:GITHUB_OUTPUT echo "currentQeax=$currentQeaxLocation" >> $env:GITHUB_OUTPUT @@ -49,7 +49,7 @@ jobs: - name: DiffCheck id: diffOutput run: | - &'${{steps.GetLTA.outputs.LemonTreeAutomationExecutable}}' diff --base '${{steps.backupModel.outputs.backupQeax}}' --theirs '${{steps.backupModel.outputs.backupQeax}}' --mine '${{steps.backupModel.outputs.currentQeax}}' --sfs ${{env:EA_FILENAME}}-${{env:EA_FILEEXTENSION}}-DIFF.ltsfs + &'${{steps.GetLTA.outputs.LemonTreeAutomationExecutable}}' diff --base '${{steps.backupModel.outputs.backupQeax}}' --theirs '${{steps.backupModel.outputs.backupQeax}}' --mine '${{steps.backupModel.outputs.currentQeax}}' --sfs "${{env:EA_FILENAME}}-${{env:EA_FILEEXTENSION}}-DIFF.ltsfs" #Archive Session Files - name: Archive Session Files uses: actions/upload-artifact@v3