diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index de4dc82d5..e2350916c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,14 +42,18 @@ jobs: run: make all - name: Uploading code coverage - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - run: bash <(curl -s https://codecov.io/bash) + uses: codecov/codecov-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + file: ./coverage.txt + flags: unittests + name: codecov-umbrella + fail_ci_if_error: true - name: Get branch name id: extract_branch shell: bash - run: echo "##[set-output name=branch;]$(ehco ${GITHUB_REF#refs/heads/})" + run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" - name: Build and push docker images env: