From 471bf83f83fc747a29e23675c7968c4e4ab39f99 Mon Sep 17 00:00:00 2001 From: Muhammad Nawaz Date: Mon, 4 Dec 2023 17:56:23 +0500 Subject: [PATCH] Updated condition --- .github/workflows/common-build.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/common-build.yml b/.github/workflows/common-build.yml index 5ba6bdd..5199558 100644 --- a/.github/workflows/common-build.yml +++ b/.github/workflows/common-build.yml @@ -26,27 +26,24 @@ jobs: - name: Run Example run: | - if [ "${{ runner.os }}" = "Windows" ]; then + if [ "${{ runner.os }}" == "Windows" ]; then build/release/example/oasvalidator-example.exe else build/release/example/oasvalidator-example fi - shell: bash - name: Run Unit Tests run: | - if [ "${{ runner.os }}" = "Windows" ]; then + if [ "${{ runner.os }}" == "Windows" ]; then build/release/test/unittest/oasvalidator-unittests.exe else build/release/test/unittest/oasvalidator-unittests fi - shell: bash - name: Run Performance Tests run: | - if [ "${{ runner.os }}" = "Windows" ]; then + if [ "${{ runner.os }}" == "Windows" ]; then build/release/test/perftest/oasvalidator-perftests.exe else build/release/test/perftest/oasvalidator-perftests - fi - shell: bash \ No newline at end of file + fi \ No newline at end of file