From ad4dfdd3b92bf372961c99a694a9430ef7fd6e40 Mon Sep 17 00:00:00 2001 From: Patrik Koczka Date: Thu, 28 Sep 2023 12:15:37 +0200 Subject: [PATCH] #193 Diff file path resolved --- .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 46dcb58..bbb0fbc 100644 --- a/.github/workflows/AutosarUmlActionExample.yml +++ b/.github/workflows/AutosarUmlActionExample.yml @@ -50,11 +50,13 @@ jobs: - name: Calculate differences between the original and reimported EA projects id: diffOutput run: | - &'${{steps.GetLTA.outputs.LemonTreeAutomationExecutable}}' diff --base '${{steps.backupEAProjectFile.outputs.originalEAProjectFile}}' --theirs '${{steps.backupEAProjectFile.outputs.originalEAProjectFile}}' --mine '${{steps.backupEAProjectFile.outputs.reimportedEAProjectFile}}' --sfs "${{steps.backupEAProjectFile.outputs.fileName}}-${{steps.backupEAProjectFile.outputs.fileExtension}}-diff.ltsfs" + $diffFile = "${{ runner.temp }}/${{steps.backupEAProjectFile.outputs.fileName}}-${{steps.backupEAProjectFile.outputs.fileExtension}}-diff.ltsfs" + &'${{steps.GetLTA.outputs.LemonTreeAutomationExecutable}}' diff --base '${{steps.backupEAProjectFile.outputs.originalEAProjectFile}}' --theirs '${{steps.backupEAProjectFile.outputs.originalEAProjectFile}}' --mine '${{steps.backupEAProjectFile.outputs.reimportedEAProjectFile}}' --sfs $diffFile + echo "diffSessionFile=$diffFile" >> $env:GITHUB_OUTPUT #Archive Session Files - name: Archive Session Files uses: actions/upload-artifact@v3 with: name: Diff Session File - path: ${{ runner.temp }}/${{steps.backupEAProjectFile.outputs.fileName}}-${{steps.backupEAProjectFile.outputs.fileExtension}}-diff.ltsfs + path: '${{steps.diffOutput.outputs.diffSessionFile}}' retention-days: 5