From d0001438fe9e8c2a82a16655956638288b0916e6 Mon Sep 17 00:00:00 2001 From: Farook Al-Sammarraie Date: Fri, 16 Jun 2023 11:09:30 +0000 Subject: [PATCH] fixed indentation --- .github/workflows/build_and_test.yml | 34 +++++++++++++++------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 792adfe43..a3697ff6c 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -71,23 +71,25 @@ jobs: run: ctest --output-on-failure -C ${{env.BUILD_TYPE}} - name: Generate coverage report - if: matrix.os == 'ubuntu-latest' - run: | - export CI_BRANCH=${GITHUB_BASE_REF:-${GITHUB_REF#refs/heads/}} - echo "CI_BRANCH=$CI_BRANCH" >> $GITHUB_ENV && \ - export TRAVIS_JOB_ID=$GITHUB_RUN_NUMBER && \ - git clone https://github.com/CrowCpp/cpp-coveralls.git && \ - cd cpp-coveralls && \ - pip3 install . --no-input && \ - cd .. && \ - coveralls --verbose --exclude-pattern .*/http_parser_merged.h --exclude-pattern .*/TinySHA1.hpp --dump coveralls.json - shell: bash + if: matrix.os == 'ubuntu-latest' + run: | + export CI_BRANCH=${GITHUB_BASE_REF:-${GITHUB_REF#refs/heads/}} + echo "CI_BRANCH=$CI_BRANCH" >> $GITHUB_ENV && \ + export TRAVIS_JOB_ID=$GITHUB_RUN_NUMBER && \ + git clone https://github.com/CrowCpp/cpp-coveralls.git && \ + cd cpp-coveralls && \ + pip3 install . --no-input && \ + cd .. && \ + coveralls --verbose --exclude-pattern .*/http_parser_merged.h --exclude-pattern .*/TinySHA1.hpp --dump coveralls.json + shell: bash - - uses: actions/upload-artifact@v3 - - name: Save PR number - with: - name: coveralls.json - path: coveralls.json + + - name: Save PR number + - uses: actions/upload-artifact@v3 + if: matrix.os == 'ubuntu-latest' + with: + name: coveralls.json + path: coveralls.json #- name: Package