Skip to content

Commit

Permalink
bash
Browse files Browse the repository at this point in the history
  • Loading branch information
nawaz1991 committed Dec 4, 2023
1 parent 772b479 commit 0580c2f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/common-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ jobs:
runs-on: ${{ inputs.os }}
steps:
- name: Set EXT variable
run: echo "EXT=$(if [[ ${{ runner.os }} == 'Windows' ]]; then echo '.exe'; else echo ''; fi)" >> $GITHUB_ENV
shell: bash
run: |
if [[ "${{ runner.os }}" == "Windows" ]]; then
echo "EXT=.exe" >> $GITHUB_ENV
else
echo "EXT=" >> $GITHUB_ENV
fi
- name: Checkout cpp-oasvalidator
uses: actions/checkout@v4
Expand All @@ -30,5 +36,5 @@ jobs:
- name: Run Example
run: ./build/release/example/oasvalidator-example${{ env.EXT }}

- name: Run Performance Tests
run: ./build/release/test/perftest/oasvalidator-perftests${{ env.EXT }}
# - name: Run Performance Tests
# run: ./build/release/test/perftest/oasvalidator-perftests${{ env.EXT }}

0 comments on commit 0580c2f

Please sign in to comment.