From a59373830590f8dba84a9fd226a3a8915a6eadb6 Mon Sep 17 00:00:00 2001 From: Patrik Koczka Date: Thu, 21 Sep 2023 23:25:58 +0200 Subject: [PATCH] #193 Download the session file --- .github/workflows/AutosarUmlActionExample.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/AutosarUmlActionExample.yml b/.github/workflows/AutosarUmlActionExample.yml index bcce366..153f650 100644 --- a/.github/workflows/AutosarUmlActionExample.yml +++ b/.github/workflows/AutosarUmlActionExample.yml @@ -27,9 +27,21 @@ jobs: id: GetLTA with: License: ${{secrets.LTALICENSE}} + #Download + - name: Download base-commit file + id: baseDownload + echo "result=downloaded" >> $env:GITHUB_OUTPUT + #Archive Session Files + - name: Archive Session Files + if: steps.baseDownload.outputs.result == 'downloaded' + uses: actions/upload-artifact@v3 + with: + name: Review Session File + path: log.ltsfs + retention-days: 5 #Diff Check between the modified files - name: DiffCheck run: | - $output = &'${{steps.GetLTA.outputs.LemonTreeAutomationExecutable}}' diff --theirs A.eapx --mine B.eapx --sfs log.txt + $output = &'${{steps.GetLTA.outputs.LemonTreeAutomationExecutable}}' diff --theirs A.eapx --mine B.eapx --sfs log.ltsfs echo $output \ No newline at end of file