fix: deprecate this action

This commit is contained in:
Tom Hu
2025-11-04 20:34:04 +05:00
parent 47f89e9acb
commit d6a33ec4b6
6 changed files with 19 additions and 4 deletions
+5
View File
@@ -1,3 +1,8 @@
## ⚠️ Deprecation Warning ⚠️
This Action causes issues for users uploading test analytics to Codecov and will be deprecated in favor of the [Codecov action](https://github.com/codecov/codecov-action).
To migrate to using this action, replace `codecov/test-results-action@v?` in your CI pipeline with `codecov/codecov-action@v5` and add `report-type: test_results` as a parameter.
## Usage
Currently, the Action will identify linux, macos, and windows runners. However, the Action may misidentify other architectures. The OS can be specified as
+3
View File
@@ -32567,6 +32567,9 @@ const downloadAndInvokeCLI = (failCi, verbose) => {
};
try {
const failCi = isTrue(core.getInput('fail_ci_if_error'));
core.warning(`This action is being deprecated in favor of 'codecov-action'.
Please update CI accordingly to use 'codecov-action@v5' with
'report-type: test_results'.`);
const binaryPath = core.getInput('binary');
const verbose = isTrue(core.getInput('verbose'));
if (binaryPath) {
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "setup-codecov-action",
"version": "1.0.0",
"version": "1.2.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "setup-codecov-action",
"version": "1.0.0",
"version": "1.2.0",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.10.1",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "setup-codecov-action",
"version": "1.0.0",
"version": "1.2.0",
"description": "Upload test result reports to Codecov from GitHub Actions",
"main": "index.js",
"scripts": {
+7
View File
@@ -95,6 +95,13 @@ const downloadAndInvokeCLI = (failCi: boolean, verbose: boolean) => {
try {
const failCi = isTrue(core.getInput('fail_ci_if_error'));
core.warning(
`This action is being deprecated in favor of 'codecov-action'.
Please update CI accordingly to use 'codecov-action@v5' with
'report-type: test_results'.`,
);
const binaryPath = core.getInput('binary');
const verbose = isTrue(core.getInput('verbose'));