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