diff --git a/.github/workflows/AutosarUmlActionExample.yml b/.github/workflows/AutosarUmlActionExample.yml index 6f645ed..8c9b152 100644 --- a/.github/workflows/AutosarUmlActionExample.yml +++ b/.github/workflows/AutosarUmlActionExample.yml @@ -7,6 +7,9 @@ on: push +env: + EA_FILENAME: counting-logic + EA_FILEEXTENSION: qeax jobs: AutosarUml: defaults: @@ -21,8 +24,8 @@ jobs: - name: Backup current model id: backupModel run: | - $qeaxLocation = '${{ runner.temp }}/counting-logic-old.qeax' - $currentQeaxLocation = '.\counting-logic.qeax' + $qeaxLocation = '${{ runner.temp }}/${{EA_FILENAME}}-old.${{EA_FILEEXTENSION}}' + $currentQeaxLocation = '.\${{EA_FILENAME}}.${{EA_FILEEXTENSION}}' Copy-Item -Path $currentQeaxLocation -Destination $qeaxLocation echo "backupQeax=$qeaxLocation" >> $env:GITHUB_OUTPUT echo "currentQeax=$currentQeaxLocation" >> $env:GITHUB_OUTPUT @@ -46,7 +49,7 @@ jobs: - name: DiffCheck id: diffOutput run: | - &'${{steps.GetLTA.outputs.LemonTreeAutomationExecutable}}' diff --base '${{steps.backupModel.outputs.backupQeax}}' --theirs '${{steps.backupModel.outputs.backupQeax}}' --mine '${{steps.backupModel.outputs.currentQeax}}' --sfs log.ltsfs + &'${{steps.GetLTA.outputs.LemonTreeAutomationExecutable}}' diff --base '${{steps.backupModel.outputs.backupQeax}}' --theirs '${{steps.backupModel.outputs.backupQeax}}' --mine '${{steps.backupModel.outputs.currentQeax}}' --sfs ${{env:EA_FILENAME}}-${{env:EA_FILEEXTENSION}}-DIFF.ltsfs #Archive Session Files - name: Archive Session Files uses: actions/upload-artifact@v3 diff --git a/action.yml b/action.yml index bf3878c..6a7aed9 100644 --- a/action.yml +++ b/action.yml @@ -39,7 +39,7 @@ runs: { echo "IncQuery AUTOSAR-UML Bridge will be installed." echo "need_to_install=true" >> $env:GITHUB_OUTPUT - echo "download_url=https://build.incquerylabs.com/nexus/repository/incquery-suite-internal-raw/lieberlieber-collaboration/aruml-internal/release-v2023.2.0-build/IncQuery%20AUTOSAR-UML%20Bridge%202023.2.0-build%20Setup.exe" >> $env:GITHUB_OUTPUT + echo "download_url=https://build.incquerylabs.com/nexus/repository/lieberlieber-collaboration-raw/aruml-releases/2023.2.0-build/IncQuery%20AUTOSAR-UML%20Bridge%202023.2.0-build%20Setup.exe" >> $env:GITHUB_OUTPUT echo "installer_path=${{ runner.temp }}\IncQuery AUTOSAR-UML Bridge Setup.exe" >> $env:GITHUB_OUTPUT }