Skip to content

Commit

Permalink
#193 Diff file path resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
patrikkoczka7 committed Sep 28, 2023
1 parent 3caaa98 commit ad4dfdd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/AutosarUmlActionExample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ad4dfdd

Please sign in to comment.