From 2f15ab6328064c320578449a721a36152ed31935 Mon Sep 17 00:00:00 2001 From: AlexHaxe Date: Sat, 2 Nov 2019 17:30:01 +0100 Subject: [PATCH] new token --- .github/workflows/checkstyle-linux.yml | 4 +++- .travis.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checkstyle-linux.yml b/.github/workflows/checkstyle-linux.yml index df8097e8..7927dc81 100644 --- a/.github/workflows/checkstyle-linux.yml +++ b/.github/workflows/checkstyle-linux.yml @@ -76,4 +76,6 @@ jobs: ) - name: Upload results to codecov if: success() && matrix.haxe-version == '4.0.0' - run: bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports" + uses: codecov/codecov-action@v1.0.3 + with: + token: ${{secrets.CODECOV_TOKEN}} diff --git a/.travis.yml b/.travis.yml index 92028949..5a26640a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,4 +41,4 @@ after_script: - if [[ "$HAXE_VERSION" == "haxe4" ]]; then (cd src; ../cc-test-reporter upload-coverage); fi after_success: - - if [[ "$HAXE_VERSION" == "haxe4" ]]; bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports" + - if [[ "$HAXE_VERSION" == "haxe4" ]]; then bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"; fi