From 03d48c0a84ac26adbe5654f103473e7d04451e06 Mon Sep 17 00:00:00 2001 From: Patrik Koczka Date: Wed, 27 Sep 2023 10:21:35 +0200 Subject: [PATCH] #193 Extended wit another variable --- .github/workflows/AutosarUmlActionExample.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/AutosarUmlActionExample.yml b/.github/workflows/AutosarUmlActionExample.yml index 2f7b2f5..dd2638c 100644 --- a/.github/workflows/AutosarUmlActionExample.yml +++ b/.github/workflows/AutosarUmlActionExample.yml @@ -22,8 +22,10 @@ jobs: id: backupModel run: | $qeaxLocation = '${{ runner.temp }}/counting-logic-old.qeax' - Copy-Item -Path ./counting-logic.qeax -Destination $qeaxLocation + $currentQeaxLocation = './counting-logic.qeax' + Copy-Item -Path $currentQeax -Destination $qeaxLocation echo "backupQeax=qeaxLocation" >> $env:GITHUB_OUTPUT + echo "currentQeax=currentQeaxLocation" >> $env:GITHUB_OUTPUT - name: Run IncQuery AUTOSAR-UML Bridge uses: ./ @@ -44,7 +46,7 @@ jobs: - name: DiffCheck id: diffOutput run: | - $output = &'${{steps.GetLTA.outputs.LemonTreeAutomationExecutable}}' diff --base ${{steps.backupModel.outputs.backupQeax}} --theirs ${{steps.backupModel.outputs.backupQeax}} --mine counting-logic.qeax --sfs log.ltsfs + $output = &'${{steps.GetLTA.outputs.LemonTreeAutomationExecutable}}' diff --base ${{steps.backupModel.outputs.backupQeax}} --theirs ${{steps.backupModel.outputs.backupQeax}} --mine ${{steps.backupModel.outputs.currentQeax}} --sfs log.ltsfs echo "result=output" >> $env:GITHUB_OUTPUT #Archive Session Files - name: Archive Session Files