Skip to content

Commit

Permalink
Merge branch '193-incquery-autosar-uml-bridge' into 193-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
kkadosa committed Dec 5, 2023
2 parents 76fef32 + e856fc3 commit 44ad305
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/AutosarUmlActionExample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,25 @@ jobs:
with:
lfs: true
fetch-depth: 0
- uses: LieberLieber/setup-LemonTree.Automation@v1
id: GetLTA
with:
License: '${{secrets.LTALICENSE}}'
- name: Run IncQuery AUTOSAR-UML Bridge
uses: IncQueryLabs/incquery-suite-bridge-autosar-uml-action@v1
with:
arxml_folder_path: example-arxml
ea_model_file_path: 'counting-logic.qeax'
incquery_username: '${{ secrets.INCQUERY_USERNAME }}'
incquery_password: '${{ secrets.INCQUERY_PASSWORD }}'
license: '${{ secrets.INCQUERY_AUTOSAR_UML_INTEGRATION_LICENSE }}'
- name: Push updated model
run: |
git config --local user.name "Automatic Model Update"
git config --local user.email "[email protected]"
git add counting-logic.qeax
git commit -m "Automatic Model Update"
git push
- name: Get relevant commit IDs
id: CommitIds
run: |
Expand Down Expand Up @@ -99,25 +118,6 @@ jobs:
echo "Model SHA: $sha"
git cat-file --filters ${{steps.CommitIds.outputs.sourceCommitId}}":${{env.ModelName}}.${{env.ModelExtension}}" | Out-Null
copy ".git\lfs\objects\$shaPart1\$shaPart2\$sha" "${{env.ModelName}}_head.${{env.ModelExtension}}"
- uses: LieberLieber/setup-LemonTree.Automation@v1
id: GetLTA
with:
License: '${{secrets.LTALICENSE}}'
- name: Run IncQuery AUTOSAR-UML Bridge
uses: IncQueryLabs/incquery-suite-bridge-autosar-uml-action@v1
with:
arxml_folder_path: example-arxml
ea_model_file_path: 'counting-logic.qeax'
incquery_username: '${{ secrets.INCQUERY_USERNAME }}'
incquery_password: '${{ secrets.INCQUERY_PASSWORD }}'
license: '${{ secrets.INCQUERY_AUTOSAR_UML_INTEGRATION_LICENSE }}'
- name: Push updated model
run: |
git config --local user.name "Automatic Model Update"
git config --local user.email "[email protected]"
git add counting-logic.qeax
git commit -m "Automatic Model Update"
git push
- name: Check for merge conflicts
if: steps.baseDownload.outputs.result == 'downloaded'
id: mergeCheck
Expand Down

0 comments on commit 44ad305

Please sign in to comment.