From cc59a65592a6d92465e92e8ede077a2ac103482c Mon Sep 17 00:00:00 2001 From: mantielero Date: Wed, 20 Dec 2023 18:34:53 +0100 Subject: [PATCH] trying an option --- .github/workflows/github-actions-demo.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml index 6c7d97b..a81bbd2 100644 --- a/.github/workflows/github-actions-demo.yml +++ b/.github/workflows/github-actions-demo.yml @@ -29,6 +29,7 @@ jobs: - name: Install FMU Compliance Checker (linux64) uses: robinraju/release-downloader@v1.8 + if: runner.os == 'Linux' with: repository: "modelica-tools/FMUComplianceChecker" tag: "2.0.4" @@ -37,6 +38,7 @@ jobs: - name: Install FMU Compliance Checker (win64) uses: robinraju/release-downloader@v1.8 + if: runner.os == 'Windows' with: repository: "modelica-tools/FMUComplianceChecker" tag: "2.0.4" @@ -82,7 +84,7 @@ jobs: shell: bash # echo "$PATH" run: | - fmuCheck.win64.exe + fmuCheck.win64.exe -d if: runner.os == 'Windows' # - name: Execute FMU checker over inc.fmu in Windows [working] @@ -97,10 +99,11 @@ jobs: # run: D:/a/fmu.nim/fmu.nim/FMUChecker-2.0.4-win64/fmuCheck.win64.exe -h 1 -s 14 -f -l 6 -e inc.log -o inc.csv inc.fmu # if: runner.os == 'Windows' - - name: Execute FMU checker over inc.fmu in Windows (Testing PowerShell) - run: | - & D:/a/fmu.nim/fmu.nim/FMUChecker-2.0.4-win64/fmuCheck.win64.exe -h 1 -s 14 -f -l 6 -e inc.log -o inc.csv inc.fmu - if: runner.os == 'Windows' + # D:/a/fmu.nim/fmu.nim/FMUChecker-2.0.4-win64/ + # - name: Execute FMU checker over inc.fmu in Windows (Testing PowerShell) + # run: | + # & fmuCheck.win64.exe -h 1 -s 14 -f -l 6 -e inc.log -o inc.csv inc.fmu + # if: runner.os == 'Windows' - name: Execute FMU checker over inc.fmu in Windows (Testing bash) shell: bash