From 5d3761f855f09017bb50e04b8432718886a1d3f4 Mon Sep 17 00:00:00 2001 From: Patrik Koczka Date: Thu, 28 Sep 2023 10:22:04 +0200 Subject: [PATCH] #193 Variable error correction --- .github/workflows/AutosarUmlActionExample.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/AutosarUmlActionExample.yml b/.github/workflows/AutosarUmlActionExample.yml index 12b633b..91a1054 100644 --- a/.github/workflows/AutosarUmlActionExample.yml +++ b/.github/workflows/AutosarUmlActionExample.yml @@ -21,10 +21,10 @@ jobs: - name: Backup current model id: backupModel run: | - $eaFileName = 'counting-logic' - $eaFileExtension = 'qeax' - $qeaxLocation = '${{ runner.temp }}/${{eaFileName}}-old.${{eaFileExtension}}' - $currentQeaxLocation = '.\"${{eaFileName}}.${{eaFileExtension}}"' + $eaFileName = "counting-logic" + $eaFileExtension = "qeax" + $qeaxLocation = '${{ runner.temp }}/$eaFileName-old.$eaFileExtension' + $currentQeaxLocation = '.\$eaFileName.$eaFileExtension' Copy-Item -Path $currentQeaxLocation -Destination $qeaxLocation echo "backupQeax=$qeaxLocation" >> $env:GITHUB_OUTPUT echo "currentQeax=$currentQeaxLocation" >> $env:GITHUB_OUTPUT