Releases: codecov/codecov-action
Releases · codecov/codecov-action
Migrate to requestretry
Version 1.0.10
introduces the following changes:
1.0.9
had a built-in dependency that was not easily packaged causing failures. We have switched out this dependency.
Retry bash script request
Version 1.0.9
introduces the following changes:
1.0.8
did not build a dist/ file, this release properly uses it
Retry bash script request
Version 1.0.8
introduces the following changes:
- Retry the bash script request three times before erroring out
Add env variables support
Version 1.0.7
introduces the following changes:
- Add support for specifying environment variables to be included with a build
- Typo fixes and general documentation updates
Add PR handling and tokenless upload support
Version 1.0.6
introduces the following changes:
- Add proper handling for pull requests by passing the
GITHUB_HEAD_REF
environment variable. This properly sets both the PR branch and PR number. - Add tokenless upload functionality by passing the
GITHUB_RUN_ID
environment variable to properly tag the build. This allows Codecov to locate the build via GitHub's API and validate the coverage upload without the need for a token (only for public repos) - Removes the
yml
input because putting it anywhere except for the root of the repo is not supported anymore
Add Input to Fail CI
Version 1.0.5
introduces the following changes:
- Add
fail_ci_if_error
input which lets users fail the CI pipeline if the Codecov upload step runs into any errors. By default, this is set to false. This addresses an issue where Codecov could fail silently and the user wouldn't know because Actions would've shown the step as being passed.
Convert Action to JavaScript
Version 1.0.4
introduces the following changes:
- Switch from a Docker based action to a JavaScript based action to add support for macOS and Windows builds. This also allows users to run the codecov action with matrix builds.
- Add a
yml
input so users can specify the path for their codecov.yml file - Add a
@v1
major version tag
Performance improvements, bug fixes
Version 1.0.3
of the Codecov Action includes the following changes:
- Use
debian:stretch-slim
base instead ofubuntu:latest
. Ubuntu takes significantly longer to build than Debian and thus extended pipeline run times - Allow for passing names with spaces
- Do not exit with a non-zero code if Codecov runs into errors. This is important because the entire CI/CD pipeline should not fail if Codecov isn't able to upload reports.
Switch to Ubuntu for base
Add a workflow to self-test the action.
Alpine Linux's find
command was missing --execdir
, switched to Ubuntu for base
Initial public release
Version 1 of the Codecov GitHub Action has the following functionality:
- Upload reports via required auth token
- Specify a file path to coverage report
- Include a name for your upload
- Include flags for your upload