Skip to content

Commit

Permalink
#193 Extended with env variable and changes from LL repo
Browse files Browse the repository at this point in the history
  • Loading branch information
patrikkoczka7 committed Sep 28, 2023
1 parent f944532 commit bc0b5c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/AutosarUmlActionExample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

on:
push
env:
EA_FILENAME: counting-logic
EA_FILEEXTENSION: qeax
jobs:
AutosarUml:
defaults:
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit bc0b5c1

Please sign in to comment.