fix: deprecate this action
This commit is contained in:
@@ -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
|
||||
|
||||
Vendored
+3
@@ -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) {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Generated
+2
-2
@@ -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
@@ -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": {
|
||||
|
||||
@@ -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'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user