ci: update codecov w/ name and run on success (#274)
* ci: update codecov w/ name and run on success
* ci: rename token to CORDOVA_CODECOV_TOKEN
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ac149d1..a434629 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -47,6 +47,8 @@
CI: true
- uses: codecov/codecov-action@v4
+ if: success()
with:
- token: ${{ secrets.CODECOV_TOKEN }}
+ name: ${{ runner.os }} node.js ${{ matrix.node-version }}
+ token: ${{ secrets.CORDOVA_CODECOV_TOKEN }}
fail_ci_if_error: false