From 3ad6a711064b18fbe0c176fd2f875cdf39ad8107 Mon Sep 17 00:00:00 2001 From: Koltai Kadosa Date: Wed, 20 Sep 2023 12:33:53 +0200 Subject: [PATCH 01/14] ARUMLPD-34 First version of action --- .github/workflows/AutosarUmlActionExample.yml | 15 ++- action.yml | 99 +++++++++++++++++++ 2 files changed, 113 insertions(+), 1 deletion(-) create mode 100644 action.yml diff --git a/.github/workflows/AutosarUmlActionExample.yml b/.github/workflows/AutosarUmlActionExample.yml index b062e1e..de28559 100644 --- a/.github/workflows/AutosarUmlActionExample.yml +++ b/.github/workflows/AutosarUmlActionExample.yml @@ -14,6 +14,19 @@ jobs: shell: pwsh runs-on: windows-latest timeout-minutes: 15 - steps: + steps: - name: Checkout Git repository uses: actions/checkout@v3 + + - name: Backup current model + run: | + Copy-Item -Path ./counting-logic.qeax -Destination '${{ runner.temp }}/counting-logic-old.qeax' + + - name: Run IncQuery AUTOSAR-UML Bridge + uses: IncQueryLabs/incquery-suite-bridge-autosar-uml-action@v1 + with: + arxml_file_path: counting-logic.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 }}" diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..862044d --- /dev/null +++ b/action.yml @@ -0,0 +1,99 @@ +# Copyright (c) IncQuery Labs cPlc. +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. + +name: IncQuery AUTOSAR-UML Bridge +description: Action to download run the IncQuery AUTOSAR-UML Bridge + +inputs: + arxml_file_path: + description: "Path to the ARXML file. Can be a directory containing multiple model files." + required: true + ea_model_file_path: + description: "Path to the Enterprise Architect model file, probably .eapx or .qeax." + required: true + incquery_username: + description: "Username to https://artifacts.incquery.io/. Not required if the validator is already installed on the runner." + required: false + incquery_password: + description: "Password to https://artifacts.incquery.io/. Not required if the validator is already installed on the runner." + required: false + license: + description: "The contents of the supplied license file." + required: true + +runs: + using: "composite" + steps: + - name: Is the IncQuery AUTOSAR-UML Bridge installed? + id: is-iqs-aub-installed + shell: pwsh + run: | + if (Test-Path -Path 'C:/Program Files/IncQuery Labs/IncQuery AUTOSAR-UML Bridge/CLI/iql-aub-cli.exe' -PathType Leaf ) + { + echo "IncQuery AUTOSAR-UML Bridge is already installed." + echo "need_to_install=false" >> $env:GITHUB_OUTPUT + } + else + { + 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/lieberlieber-collaboration-raw/aruml-releases/release-v2023.1.0/IncQuery%20AUTOSAR-UML%20Bridge%202023.1.0%20Setup.exe" >> $env:GITHUB_OUTPUT + echo "installer_path=${{ runner.temp }}/IncQuery AUTOSAR-UML Bridge 2023.1.0 Setup" >> $env:GITHUB_OUTPUT + } + + - name: Restore the IncQuery AUTOSAR-UML Bridge installer from cache + id: restore-installer-from-cache + uses: actions/cache/restore@v3 + if: ${{ steps.is-iqs-aub-installed.outputs.need_to_install == 'true' }} + with: + path: ${{ steps.is-iqs-aub-installed.outputs.installer_path }} + key: ${{ steps.is-iqs-aub-installed.outputs.download_url }} + + - name: Download the IncQuery AUTOSAR-UML Bridge installer + shell: pwsh + if: ${{ ( steps.restore-installer-from-cache.outputs.cache-hit != 'true' ) && ( steps.is-iqs-aub-installed.outputs.need_to_install == 'true' ) }} + run: | + $user = "${{ inputs.incquery_username }}" + $pass= "${{ inputs.incquery_password }}" + if ( $user.Length -eq 0 ) { exit 1 } + if ( $pass.Length -eq 0 ) { exit 1 } + $secpasswd = ConvertTo-SecureString $pass -AsPlainText -Force + $credential = New-Object System.Management.Automation.PSCredential($user, $secpasswd) + Invoke-WebRequest ${{ steps.is-iqs-aub-installed.outputs.download_url }} -Credential $credential -OutFile '${{ steps.is-iqs-aub-installed.outputs.installer_path }}' + + - name: Cache the IncQuery AUTOSAR-UML Bridge installer + id: cache-installer-save + if: ${{ ( steps.restore-installer-from-cache.outputs.cache-hit != 'true' ) && ( steps.is-iqs-aub-installed.outputs.need_to_install == 'true' ) }} + uses: actions/cache/save@v3 + with: + path: ${{ steps.is-iqs-aub-installed.outputs.installer_path }} + key: ${{ steps.is-iqs-aub-installed.outputs.download_url }} + + - name: Install the IncQuery AUTOSAR-UML Bridge + shell: pwsh + if: ${{ steps.is-iqs-aub-installede.outputs.need_to_install == 'true' }} + run: | + $currentPrincipal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent()) + $isAdmin = $currentPrincipal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator) + if($isAdmin -ne $true) + { + $msg = "IncQuery AUTOSAR-UML Bridge is not installed on the runner, and since the current user is not an administrator the action can't install it." + echo $msg + echo $msg | Out-File -FilePath $env:GITHUB_STEP_SUMMARY + exit 1 + } + $installResult = Start-Process -FilePath '${{ steps.is-iqs-aub-installed.outputs.installer_path }}' -ArgumentList @("/install", "/quiet") -Wait -PassThru + exit $installResult.ExitCode + + - name: Create the license file + shell: pwsh + run: | + echo '${{ inputs.license }}' | Out-File -FilePath '${{ runner.temp }}/IncQueryAUB.lic' + echo 'licenseFilePath: IncQueryAUB.lic' | Out-File -FilePath '${{ runner.temp }}/IncQueryAUBLic.yaml' + + - name: Run the IncQuery AUTOSAR-UML Bridge + shell: pwsh + run: | + & 'C:\Program Files\IncQuery Labs\AUTOSAR-UML Bridge\CLI\iql-aub-cli.exe' -i='${{ inputs.arxml_file_path }}' -e='${{ inputs.ea_model_file_path }}' -l='${{ runner.temp }}/IncQueryAUBLic.yaml' From 79704a6a4feca6cef1c3378a3d9b44fe7e66f36e Mon Sep 17 00:00:00 2001 From: Koltai Kadosa Date: Wed, 20 Sep 2023 12:45:10 +0200 Subject: [PATCH 02/14] ARUMLPD-34 Trying out paths for acgtion --- .github/workflows/AutosarUmlActionExample.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/AutosarUmlActionExample.yml b/.github/workflows/AutosarUmlActionExample.yml index de28559..977ccab 100644 --- a/.github/workflows/AutosarUmlActionExample.yml +++ b/.github/workflows/AutosarUmlActionExample.yml @@ -23,7 +23,7 @@ jobs: Copy-Item -Path ./counting-logic.qeax -Destination '${{ runner.temp }}/counting-logic-old.qeax' - name: Run IncQuery AUTOSAR-UML Bridge - uses: IncQueryLabs/incquery-suite-bridge-autosar-uml-action@v1 + uses: ./ with: arxml_file_path: counting-logic.arxml ea_model_file_path: counting-logic.qeax From ef1d8b4ddd10ae931b8021891688943360afa0ef Mon Sep 17 00:00:00 2001 From: Koltai Kadosa Date: Wed, 20 Sep 2023 12:49:30 +0200 Subject: [PATCH 03/14] ARUMLPD-34 Fix typo in action --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 862044d..393ca07 100644 --- a/action.yml +++ b/action.yml @@ -73,7 +73,7 @@ runs: - name: Install the IncQuery AUTOSAR-UML Bridge shell: pwsh - if: ${{ steps.is-iqs-aub-installede.outputs.need_to_install == 'true' }} + if: ${{ steps.is-iqs-aub-installed.outputs.need_to_install == 'true' }} run: | $currentPrincipal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent()) $isAdmin = $currentPrincipal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator) From 8093196a6ce7f46e7ed5d18c7989d5d2664d67db Mon Sep 17 00:00:00 2001 From: Koltai Kadosa Date: Wed, 20 Sep 2023 13:01:32 +0200 Subject: [PATCH 04/14] ARUMLPD-34 Massaging installer call --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 393ca07..0466268 100644 --- a/action.yml +++ b/action.yml @@ -40,7 +40,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/lieberlieber-collaboration-raw/aruml-releases/release-v2023.1.0/IncQuery%20AUTOSAR-UML%20Bridge%202023.1.0%20Setup.exe" >> $env:GITHUB_OUTPUT - echo "installer_path=${{ runner.temp }}/IncQuery AUTOSAR-UML Bridge 2023.1.0 Setup" >> $env:GITHUB_OUTPUT + echo "installer_path=${{ runner.temp }}/IncQuery AUTOSAR-UML Bridge Setup" >> $env:GITHUB_OUTPUT } - name: Restore the IncQuery AUTOSAR-UML Bridge installer from cache @@ -83,7 +83,7 @@ runs: echo $msg echo $msg | Out-File -FilePath $env:GITHUB_STEP_SUMMARY exit 1 - } + } $installResult = Start-Process -FilePath '${{ steps.is-iqs-aub-installed.outputs.installer_path }}' -ArgumentList @("/install", "/quiet") -Wait -PassThru exit $installResult.ExitCode From f14db12117f01c2c749ea215273c62f52fa419dd Mon Sep 17 00:00:00 2001 From: Koltai Kadosa Date: Wed, 20 Sep 2023 13:03:28 +0200 Subject: [PATCH 05/14] ARUMLPD-34 Massaging instller call 2 --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 0466268..789a731 100644 --- a/action.yml +++ b/action.yml @@ -40,7 +40,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/lieberlieber-collaboration-raw/aruml-releases/release-v2023.1.0/IncQuery%20AUTOSAR-UML%20Bridge%202023.1.0%20Setup.exe" >> $env:GITHUB_OUTPUT - echo "installer_path=${{ runner.temp }}/IncQuery AUTOSAR-UML Bridge Setup" >> $env:GITHUB_OUTPUT + echo "installer_path=${{ runner.temp }}\IncQuery AUTOSAR-UML Bridge Setup.exe" >> $env:GITHUB_OUTPUT } - name: Restore the IncQuery AUTOSAR-UML Bridge installer from cache From ec9c0056bf9c94acf7553b42e733793a220b0655 Mon Sep 17 00:00:00 2001 From: Koltai Kadosa Date: Wed, 20 Sep 2023 13:07:50 +0200 Subject: [PATCH 06/14] ARUMLPD-34 Fixed executable path --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 789a731..a6563ca 100644 --- a/action.yml +++ b/action.yml @@ -96,4 +96,4 @@ runs: - name: Run the IncQuery AUTOSAR-UML Bridge shell: pwsh run: | - & 'C:\Program Files\IncQuery Labs\AUTOSAR-UML Bridge\CLI\iql-aub-cli.exe' -i='${{ inputs.arxml_file_path }}' -e='${{ inputs.ea_model_file_path }}' -l='${{ runner.temp }}/IncQueryAUBLic.yaml' + & 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\CLI\iql-aub-cli.exe' -i='${{ inputs.arxml_file_path }}' -e='${{ inputs.ea_model_file_path }}' -l='${{ runner.temp }}/IncQueryAUBLic.yaml' From 009abc3490fbf0c2476a0918697b4d3428586cb3 Mon Sep 17 00:00:00 2001 From: Koltai Kadosa Date: Wed, 20 Sep 2023 13:20:57 +0200 Subject: [PATCH 07/14] ARUMLPD-34 Checking env --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index a6563ca..a394af6 100644 --- a/action.yml +++ b/action.yml @@ -96,4 +96,5 @@ runs: - name: Run the IncQuery AUTOSAR-UML Bridge shell: pwsh run: | + gci env:* | sort-object name & 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\CLI\iql-aub-cli.exe' -i='${{ inputs.arxml_file_path }}' -e='${{ inputs.ea_model_file_path }}' -l='${{ runner.temp }}/IncQueryAUBLic.yaml' From db8f3f0f30413c39b8672f24ba113c99161424e1 Mon Sep 17 00:00:00 2001 From: Koltai Kadosa Date: Wed, 20 Sep 2023 13:25:10 +0200 Subject: [PATCH 08/14] ARUMLPD-34 Env var workaround --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index a394af6..8d958da 100644 --- a/action.yml +++ b/action.yml @@ -96,5 +96,5 @@ runs: - name: Run the IncQuery AUTOSAR-UML Bridge shell: pwsh run: | - gci env:* | sort-object name + $env:ARUML_HOME = 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\Transformation\' & 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\CLI\iql-aub-cli.exe' -i='${{ inputs.arxml_file_path }}' -e='${{ inputs.ea_model_file_path }}' -l='${{ runner.temp }}/IncQueryAUBLic.yaml' From edf371ab893eb6fdc8ece664b332e72f7d009e1c Mon Sep 17 00:00:00 2001 From: Koltai Kadosa Date: Wed, 20 Sep 2023 13:29:04 +0200 Subject: [PATCH 09/14] ARUMLPD-34 Trying with different version --- action.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 8d958da..77e7133 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/lieberlieber-collaboration-raw/aruml-releases/release-v2023.1.0/IncQuery%20AUTOSAR-UML%20Bridge%202023.1.0%20Setup.exe" >> $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 "installer_path=${{ runner.temp }}\IncQuery AUTOSAR-UML Bridge Setup.exe" >> $env:GITHUB_OUTPUT } @@ -96,5 +96,4 @@ runs: - name: Run the IncQuery AUTOSAR-UML Bridge shell: pwsh run: | - $env:ARUML_HOME = 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\Transformation\' & 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\CLI\iql-aub-cli.exe' -i='${{ inputs.arxml_file_path }}' -e='${{ inputs.ea_model_file_path }}' -l='${{ runner.temp }}/IncQueryAUBLic.yaml' From 37931c79e21335ae760e513d2ab841963bdb40d2 Mon Sep 17 00:00:00 2001 From: Koltai Kadosa Date: Wed, 20 Sep 2023 13:32:55 +0200 Subject: [PATCH 10/14] ARUMLPD-34 Env var workaround --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index 77e7133..e661212 100644 --- a/action.yml +++ b/action.yml @@ -96,4 +96,5 @@ runs: - name: Run the IncQuery AUTOSAR-UML Bridge shell: pwsh run: | + $env:ARUML_HOME = 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\Transformation\' & 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\CLI\iql-aub-cli.exe' -i='${{ inputs.arxml_file_path }}' -e='${{ inputs.ea_model_file_path }}' -l='${{ runner.temp }}/IncQueryAUBLic.yaml' From 1d8cf08f8fc03ffc4415e095839a9170e97a303c Mon Sep 17 00:00:00 2001 From: Koltai Kadosa Date: Wed, 20 Sep 2023 13:38:18 +0200 Subject: [PATCH 11/14] ARUMLPD-34 Weird things --- action.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/action.yml b/action.yml index e661212..77bb5e8 100644 --- a/action.yml +++ b/action.yml @@ -87,14 +87,10 @@ runs: $installResult = Start-Process -FilePath '${{ steps.is-iqs-aub-installed.outputs.installer_path }}' -ArgumentList @("/install", "/quiet") -Wait -PassThru exit $installResult.ExitCode - - name: Create the license file + - name: Run the IncQuery AUTOSAR-UML Bridge shell: pwsh run: | echo '${{ inputs.license }}' | Out-File -FilePath '${{ runner.temp }}/IncQueryAUB.lic' echo 'licenseFilePath: IncQueryAUB.lic' | Out-File -FilePath '${{ runner.temp }}/IncQueryAUBLic.yaml' - - - name: Run the IncQuery AUTOSAR-UML Bridge - shell: pwsh - run: | $env:ARUML_HOME = 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\Transformation\' & 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\CLI\iql-aub-cli.exe' -i='${{ inputs.arxml_file_path }}' -e='${{ inputs.ea_model_file_path }}' -l='${{ runner.temp }}/IncQueryAUBLic.yaml' From 8add6e0fce3406c1fe67d749a33dc6947c0246e5 Mon Sep 17 00:00:00 2001 From: Koltai Kadosa Date: Wed, 20 Sep 2023 13:43:06 +0200 Subject: [PATCH 12/14] ARUMLPD-34 Fix call --- action.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 77bb5e8..cd4423d 100644 --- a/action.yml +++ b/action.yml @@ -87,10 +87,14 @@ runs: $installResult = Start-Process -FilePath '${{ steps.is-iqs-aub-installed.outputs.installer_path }}' -ArgumentList @("/install", "/quiet") -Wait -PassThru exit $installResult.ExitCode - - name: Run the IncQuery AUTOSAR-UML Bridge + - name: Create the license file shell: pwsh run: | echo '${{ inputs.license }}' | Out-File -FilePath '${{ runner.temp }}/IncQueryAUB.lic' echo 'licenseFilePath: IncQueryAUB.lic' | Out-File -FilePath '${{ runner.temp }}/IncQueryAUBLic.yaml' + + - name: Run the IncQuery AUTOSAR-UML Bridge + shell: pwsh + run: | $env:ARUML_HOME = 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\Transformation\' - & 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\CLI\iql-aub-cli.exe' -i='${{ inputs.arxml_file_path }}' -e='${{ inputs.ea_model_file_path }}' -l='${{ runner.temp }}/IncQueryAUBLic.yaml' + & 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\CLI\iql-aub-cli.exe' -i='${{ inputs.arxml_file_path }}' -e='${{ inputs.ea_model_file_path }}' -l '${{ runner.temp }}/IncQueryAUBLic.yaml' From afe8413af6dd06492bb4b2c776cf3765679cba33 Mon Sep 17 00:00:00 2001 From: Koltai Kadosa Date: Wed, 20 Sep 2023 13:48:28 +0200 Subject: [PATCH 13/14] ARUMLPD-34 Fix call 2 --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index cd4423d..01bd958 100644 --- a/action.yml +++ b/action.yml @@ -97,4 +97,4 @@ runs: shell: pwsh run: | $env:ARUML_HOME = 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\Transformation\' - & 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\CLI\iql-aub-cli.exe' -i='${{ inputs.arxml_file_path }}' -e='${{ inputs.ea_model_file_path }}' -l '${{ runner.temp }}/IncQueryAUBLic.yaml' + & 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\CLI\iql-aub-cli.exe' -i '${{ inputs.arxml_file_path }}' -e '${{ inputs.ea_model_file_path }}' -l '${{ runner.temp }}/IncQueryAUBLic.yaml' From 914c751144a6663c58ed3663e95ad42c259216cb Mon Sep 17 00:00:00 2001 From: Koltai Kadosa Date: Mon, 25 Sep 2023 10:04:36 +0200 Subject: [PATCH 14/14] ARUMLPD-34 Requested changes --- .github/workflows/AutosarUmlActionExample.yml | 2 +- action.yml | 4 ++-- counting-logic.arxml => example-arxml/counting-logic.arxml | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename counting-logic.arxml => example-arxml/counting-logic.arxml (100%) diff --git a/.github/workflows/AutosarUmlActionExample.yml b/.github/workflows/AutosarUmlActionExample.yml index 977ccab..12b1fcc 100644 --- a/.github/workflows/AutosarUmlActionExample.yml +++ b/.github/workflows/AutosarUmlActionExample.yml @@ -25,7 +25,7 @@ jobs: - name: Run IncQuery AUTOSAR-UML Bridge uses: ./ with: - arxml_file_path: counting-logic.arxml + arxml_folder_path: example-arxml ea_model_file_path: counting-logic.qeax incquery_username: "${{ secrets.INCQUERY_USERNAME }}" incquery_password: "${{ secrets.INCQUERY_PASSWORD }}" diff --git a/action.yml b/action.yml index 01bd958..bf3878c 100644 --- a/action.yml +++ b/action.yml @@ -7,7 +7,7 @@ name: IncQuery AUTOSAR-UML Bridge description: Action to download run the IncQuery AUTOSAR-UML Bridge inputs: - arxml_file_path: + arxml_folder_path: description: "Path to the ARXML file. Can be a directory containing multiple model files." required: true ea_model_file_path: @@ -97,4 +97,4 @@ runs: shell: pwsh run: | $env:ARUML_HOME = 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\Transformation\' - & 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\CLI\iql-aub-cli.exe' -i '${{ inputs.arxml_file_path }}' -e '${{ inputs.ea_model_file_path }}' -l '${{ runner.temp }}/IncQueryAUBLic.yaml' + & 'C:\Program Files\IncQuery Labs\IncQuery AUTOSAR-UML Bridge\CLI\iql-aub-cli.exe' -i '${{ inputs.arxml_folder_path }}' -e '${{ inputs.ea_model_file_path }}' -l '${{ runner.temp }}/IncQueryAUBLic.yaml' diff --git a/counting-logic.arxml b/example-arxml/counting-logic.arxml similarity index 100% rename from counting-logic.arxml rename to example-arxml/counting-logic.arxml