Skip to content

Commit

Permalink
Updated condition
Browse files Browse the repository at this point in the history
  • Loading branch information
nawaz1991 committed Dec 4, 2023
1 parent fd905c4 commit 471bf83
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/common-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
fi

0 comments on commit 471bf83

Please sign in to comment.