From f6e4d311b5ef2b692551d52e443ee099b0f25573 Mon Sep 17 00:00:00 2001 From: Koltai Kadosa Date: Wed, 6 Dec 2023 11:36:36 +0100 Subject: [PATCH] Sanity check --- .github/workflows/AutosarUmlActionExample.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/AutosarUmlActionExample.yml b/.github/workflows/AutosarUmlActionExample.yml index 6642b15..4c38569 100644 --- a/.github/workflows/AutosarUmlActionExample.yml +++ b/.github/workflows/AutosarUmlActionExample.yml @@ -116,6 +116,9 @@ jobs: if: steps.baseDownload.outputs.result == 'downloaded' id: mergeCheck run: | + Test-Path ${{env.ModelName}}_base.${{env.ModelExtension}} + Test-Path ${{env.ModelName}}_target.${{env.ModelExtension}} + Test-Path ${{env.ModelName}}.${{env.ModelExtension}} &"${{steps.GetLTA.outputs.LemonTreeAutomationExecutable}}" merge --base ${{env.ModelName}}_base.${{env.ModelExtension}} --theirs ${{env.ModelName}}_target.${{env.ModelExtension}} --mine ${{env.ModelName}}.${{env.ModelExtension}} --dryrun --sfs ${{ steps.session_file.outputs.result }} --abortOnConflict true echo "::set-output name=result::$LASTEXITCODE" echo "Return code: $LASTEXITCODE"