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