Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
Bench: 2371835
  • Loading branch information
SzilBalazs committed Aug 10, 2023
1 parent 5f278e5 commit ee01011
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
sudo apt-get install clang-15
- os: windows-latest
suffix: "-win"
exe-suffix: ".exe"

steps:
- uses: actions/checkout@v3
Expand All @@ -44,8 +45,8 @@ jobs:
run: |
BENCH=$(./WhiteCore-${{matrix.arch}}${{matrix.suffix}} bench | grep -Eo '^[0-9]+ nodes' | grep -o '[0-9]*')
COMMIT_BENCH=$(git log -1 --pretty=%B | grep -Eo '^Bench: *[0-9]+' | grep -o '[0-9]*')
echo "::set-output name=BENCH::$BENCH"
echo "::set-output name=COMMIT_BENCH::$COMMIT_BENCH"
echo "BENCH=$BENCH" >> $GITHUB_ENV
echo "COMMIT_BENCH=$COMMIT_BENCH" >> $GITHUB_ENV
- name: Invalid bench
if: steps.obtain_bench.outputs.BENCH != steps.obtain_bench.outputs.COMMIT_BENCH &&
Expand All @@ -57,5 +58,5 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: WhiteCore
path: ./WhiteCore-${{matrix.arch}}${{matrix.suffix}}
name: WhiteCore-Executables
path: ./WhiteCore-${{matrix.arch}}${{matrix.suffix}}${{matrix.exe-suffix}

0 comments on commit ee01011

Please sign in to comment.