diff --git a/.github/workflows/AutosarUmlActionExample.yml b/.github/workflows/AutosarUmlActionExample.yml index cca8911..10481ea 100644 --- a/.github/workflows/AutosarUmlActionExample.yml +++ b/.github/workflows/AutosarUmlActionExample.yml @@ -21,15 +21,15 @@ jobs: - name: Backup current model id: backupModel run: | - $ea_filename = '${{counting-logic}}' - $ea_fileextension = '${{qeax}}' - $qeaxLocation = '${{ runner.temp }}/${{ea_filename}}-old.${{ea_fileextension}}' - $currentQeaxLocation = '.\"${{ea_filename}}.${{ea_fileextension}}"' + $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 - echo "filename=$ea_filename" >> $env:GITHUB_OUTPUT - echo "fileextension=$ea_fileextension" >> $env:GITHUB_OUTPUT + echo "fileName=$eaFileName" >> $env:GITHUB_OUTPUT + echo "fileExtension=$eaFileExtension" >> $env:GITHUB_OUTPUT - name: Run IncQuery AUTOSAR-UML Bridge uses: ./ @@ -50,7 +50,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 "${{steps.backupModel.outputs.filename}}-${{steps.backupModel.outputs.fileextension}}-diff.ltsfs" + &'${{steps.GetLTA.outputs.LemonTreeAutomationExecutable}}' diff --base '${{steps.backupModel.outputs.backupQeax}}' --theirs '${{steps.backupModel.outputs.backupQeax}}' --mine '${{steps.backupModel.outputs.currentQeax}}' --sfs "${{steps.backupModel.outputs.fileName}}-${{steps.backupModel.outputs.fileExtension}}-diff.ltsfs" #Archive Session Files - name: Archive Session Files uses: actions/upload-artifact@v3